createHlcClock()

Creates a monotonic hybrid logical clock for a single node.

Signature

function createHlcClock(options: {
  nodeId: NodeId
  now?: () => bigint
  maxDriftMs?: bigint
}): HlcClock