Skip to main content

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​

ParameterTypeDescription
topicstringThe event topic.
dataunknownThe event data.
isCachedbooleanWhether the event data should be cached.

Returns​

void