Module: core/events
IQEventBus - Global Event System
Summary
Publish/subscribe event bus for BBS-wide event handling
This module provides a global event bus that allows events to be published and processed regardless of which menu a user is currently viewing.
Table of contents
Classes
Interfaces
Type Aliases
Variables
Type Aliases
IQEventHandler
Ƭ IQEventHandler: (event: IQEvent) => void | Promise<void>
Type declaration
▸ (event): void | Promise<void>
Event handler function type
Parameters
| Name | Type |
|---|---|
event |
IQEvent |
Returns
void | Promise<void>
Defined in
Variables
events
• Const events: IQEventBus
Global event bus singleton Use this for application-wide event handling