No summary provided.
Extends
IBaseBroker<TEvents>Extends
AsyncEventEmitter<ToEventMap<TEvents>>Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
TEvents | {} | No | None |
Publishes an event
Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
Event | keyof TEvents | No | None |
Name | Type | Optional | Description |
---|---|---|---|
event | Event | No | None |
data | TEvents[Event] | No | None |
Subscribes to the given events
Name | Type | Optional | Description |
---|---|---|---|
events | (keyof TEvents)[] | No | None |
Unsubscribes from the given events
Name | Type | Optional | Description |
---|---|---|---|
events | (keyof TEvents)[] | No | None |