now static method

HLC now(
  1. String node
)

Constructs an initial HLC using the current wall clock.

Implementation

static HLC now(String node) {
  return HLC(
    timestamp: DateTime.now().millisecondsSinceEpoch,
    count: 0,
    node: node,
  );
}