Home > git-documentdb > Sync > init
#
Sync.init() methodInitialize remote connection
Signature:Promise<SyncResult >
#
RemarksCall init() once just after creating an instance.
#
ExceptionsErr.CannotCreateRemoteRepositoryError
# Errors from RemoteEngine[engineName].checkFetch
Errors from Sync.trySync()
Errors from Sync.tryPush()