@std/time standard library MIT engine >= 0.1.0

Deterministic virtual clocks and monotonic time.

import { Clock } from "@std/time";

overview

Reach for @std/time in two shapes: Clock.mono for real monotonic durations, and Clock.virtual plus tick() for deterministic virtual time that tests can drive step by step.

capabilities

  • Monotonic clock
  • VirtualClock control
  • Duration math

No API data yet