global bus

This commit is contained in:
Dax Raad committed 2025-12-10 22:28:56 -05:00
1 parent 28c6320cd6
commit d88912abf0
1 file changed
+4
+4
View File
@@ -35,6 +35,10 @@ export namespace Bus {
for (const sub of [...wildcard]) {
sub(event)
}
GlobalBus.emit("event", {
directory: Instance.directory,
payload: event,
})
},
)