global bus

pull/5317/head
Dax Raad 2025-12-10 22:28:40 -05:00
parent 28c6320cd6
commit d88912abf0
1 changed files with 4 additions and 0 deletions

View File

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