Skip to main content

Home > git-documentdb > SyncInterface

SyncInterface interface#

Interface of Sync

Signature:
export interface SyncInterface

Properties#

PropertyTypeDescription
enginestring
jsonDiffJsonDiff
jsonPatchIJsonPatch
optionsRemoteOptions
remoteNamestring
remoteRepositoryRemoteRepository
remoteURLstring********************************************* Public properties (readonly) *********************************************
runBeforeLiveSync(() => void) | undefined********************************************* Public properties *********************************************

Methods#

MethodDescription
close()
currentRetries()
init()********************************************* Public methods *********************************************
off(event, callback)
on(event, callback, collectionPath)
pause()
resume(options)
tryPush()
trySync()