RemoteDateSynchronizer

new RemoteDateSynchronizer(options)

Parameters:
NameTypeDescription
optionsRemoteDateSynchronizerOptions

Classes

RemoteDateSynchronizer

Methods

destroy() → {void}

Cleans up any ongoing or future remote fetch operations.
Returns:
Type: 
void

(async) syncWithRemote() → {Promise.<void>}

Synchronizes the local RemoteDate instance with a remote server's date. It uses a `fetchRemote` function to communicate with the server and estimates the remote date by accounting for network delays during the data transmission.
Returns:
Type: 
Promise.<void>