Gets the current delta value from the synchronizer.
Starts the clock synchronizer. It will emit delta
events,
when it is able to calculate the delta between the client and the server.
Halts the clock synchronizer.
Generated using TypeDoc
Clock syncer's goal is to keep a local clock in sync with a server clock.
It does this by sampling the server time a few times and then monitoring the local clock for any time disturbances. Should these occur it will re-sample the server.
After the sample period it is able to provide a delta value for its difference from the server clock, which can be used to make time based adjustments to local time based operations.