TinyBase logoTinyBase β

Synchronizer primitives

useCreateSynchronizer

The useCreateSynchronizer primitive is used to create a Synchronizer within a Solid application along with convenient memoization and callbacks. Read more.

useProvideSynchronizer

The useProvideSynchronizer primitive is used to add a Synchronizer object by Id to a Provider component, but imperatively from a component within it. Read more.

useSynchronizer

The useSynchronizer primitive is used to get a reference to a Synchronizer object from within a Provider component context. Read more.

useSynchronizerIds

The useSynchronizerIds primitive is used to retrieve the Ids of all the named Synchronizer objects present in the current Provider component context. Read more.

useSynchronizerOrSynchronizerById

The useSynchronizerOrSynchronizerById primitive is used to get a reference to a Synchronizer object from within a Provider component context, or have it passed directly to this primitive. Read more.

useSynchronizerStatus

The useSynchronizerStatus primitive returns a the status of a Synchronizer, and registers a listener so that any changes to it will cause an update. Read more.

useSynchronizerStatusListener

The useSynchronizerStatusListener primitive registers a listener function with the Synchronizer that will be called when its status changes. Read more.