Appearance
Allows broadcasting events.
• T extends unknown[]
unknown
broadcast: (...args) => void;
Notifies attached handlers with specified payload.
• ...args: [...T[]]
...T[]
The payload of the notification.
void
event.ts:5 ↗