TinyBase logoTinyBase

WsSynchronizer

The WsSynchronizer interface represents a Synchronizer that lets you synchronize MergeableStore data to and from other MergeableStore instances via WebSockets facilitated by a server.

You should use the createWsSynchronizer function to create a WsSynchronizer object.

It is a minor extension to the Synchronizer interface and simply provides an extra getWebSocket method for accessing a reference to the WebSocket being used.

Since

v5.0.0

Getter methods

Listener methods

Lifecycle methods

Load methods

Save methods

Synchronization methods

Development methods