TinyBase logoTinyBase β

provideSynchronizer

The provideSynchronizer function registers a Synchronizer with a given Id into the current Provider context.

provideSynchronizer(
  synchronizerId: string,
  synchronizer: Synchronizer,
): void
TypeDescription
synchronizerIdstring

The Id to register the Synchronizer under.

synchronizerSynchronizer

The Synchronizer to register.

returnsvoid

This has no return value.

Since

v8.1.0