getHlcFunctions
getHlcFunctions(
uniqueId?: string,
getNow?: GetNow,
): [getNextHlc: () => Hlc, seenHlc: (remoteHlc: Hlc) => void, setUniqueId: (uniqueId: string) => void, encodeHlc: (logicalTime: number, counter: number, uniqueId?: string) => Hlc, decodeHlc: (hlc: Hlc) => [logicalTime: number, counter: number, clientId: string], getLastLogicalTime: () => number, getLastCounter: () => number, getClientId: () => string]
| Type | Description |
---|
uniqueId? | string | |
---|
getNow? | GetNow | |
---|
returns | [getNextHlc: () => Hlc, seenHlc: (remoteHlc: Hlc) => void, setUniqueId: (uniqueId: string) => void, encodeHlc: (logicalTime: number, counter: number, uniqueId?: string) => Hlc, decodeHlc: (hlc: Hlc) => [logicalTime: number, counter: number, clientId: string], getLastLogicalTime: () => number, getLastCounter: () => number, getClientId: () => string] | |
---|