@casual-simulation/aux-common
Version:
Common library for AUX projects
16 lines • 421 B
JavaScript
/**
* Defines a class that implements TimeSyncConnection when given a InstRecordsClient.
*/
export class InstRecordsClientTimeSyncConnection {
constructor(client) {
this._client = client;
}
get closed() {
return false;
}
unsubscribe() { }
sampleServerTime() {
return this._client.sampleServerTime();
}
}
//# sourceMappingURL=InstRecordsClientTimeSyncConnection.js.map