Home > git-documentdb > SyncInterface
SyncInterface interface#
Interface of Sync
Signature:Properties#
| Property | Type | Description |
|---|---|---|
| engine | string | |
| jsonDiff | JsonDiff | |
| jsonPatch | IJsonPatch | |
| options | RemoteOptions | |
| remoteName | string | |
| remoteRepository | RemoteRepository | |
| remoteURL | string | ********************************************* Public properties (readonly) ********************************************* |
| runBeforeLiveSync | (() => void) | undefined | ********************************************* Public properties ********************************************* |
Methods#
| Method | Description |
|---|---|
| close() | |
| currentRetries() | |
| init() | ********************************************* Public methods ********************************************* |
| off(event, callback) | |
| on(event, callback, collectionPath) | |
| pause() | |
| resume(options) | |
| tryPush() | |
| trySync() |