TinyBase logoTinyBase β

onSynchronizerStatus

The onSynchronizerStatus function registers a listener that is called whenever the status of a Synchronizer changes.

onSynchronizerStatus(
  listener: StatusListener,
  synchronizerOrSynchronizerId?: MaybeGetter<undefined | SynchronizerOrSynchronizerId>,
): void
TypeDescription
listenerStatusListener

The function to call when the status changes.

synchronizerOrSynchronizerId?MaybeGetter<undefined | SynchronizerOrSynchronizerId>

The Synchronizer to use, or its Id.

returnsvoid

This has no return value.

Since

v8.1.0