Synclets logoSynclets

Sync methods

sync

The sync method manually triggers synchronization for the specified address, sending the current state to all connected peers via the configured transports. This method invokes the optional onSync implementation callback if provided. Synchronization also occurs automatically after setAtom and delAtom calls when the sync parameter is true. Read more.