Interface: EventBusSyncHandler
Defined in: src/sdk/data/EventBus.ts:70
A handler for syncing events published to an event bus to other event bus instances.
Methods
sendSyncedEvent()
sendSyncedEvent(
topic
,data
,isCached
):void
Defined in: src/sdk/data/EventBus.ts:77
Sends an event to be synced to other event bus instances.
Parameters
Parameter | Type | Description |
---|---|---|
topic | string | The event topic. |
data | unknown | The event data. |
isCached | boolean | Whether the event data should be cached. |
Returns
void