Skip to main content

Home > git-documentdb > Sync > on

Sync.on() method#

Add SyncEvent handler

Signature:
on(event: SyncEvent, callback: SyncCallback, collectionPath?: string): this;

Parameters#

ParameterTypeDescription
eventSyncEvent
callbackSyncCallback
collectionPathstring
Returns:

this