Event bus for SDK events. For the list of events and their payload check SdkEvents.
Unregister all event handlers at once.
Unregister a callback from the event.
InvalidStateError if the callback wasn't registered or already unregistered.
Register a callback for an event.
a cleanup function that will unregister the handler from the event.
Wait for the next occurrence of the event.
a promise that gets resolved once the event happens.
Stop tracking events of a data model.
the name of the data model to stop tracking.
InvalidStateError if a data model with provided dataModelName doesn't exist.
Stop tracking events of a layer.
A name of a layer which events need to stop being tracked.
InvalidStateError if a layer with provided layerName doesn't exist.
Start tracking events of a data model.
Start tracking events of a layer.
Event bus for SDK events. For the list of events and their payload check SdkEvents.