global bus

This commit is contained in:
Dax Raad 2025-12-10 22:28:40 -05:00
parent 28c6320cd6
commit d88912abf0

View file

@ -35,6 +35,10 @@ export namespace Bus {
for (const sub of [...wildcard]) {
sub(event)
}
GlobalBus.emit("event", {
directory: Instance.directory,
payload: event,
})
},
)