Overview
Runtime-agnostic stopwatch core and framework adapters.
Welcome to Watchstop.
Core docs are the source of truth. Implement packages from those pages, not from guesses.
Elapsed math
How does the time shown stay correct while the wall clock keeps moving during a pause?
A pause must not add to the time shown. Elapsed is subtracting clock readings, not counting frames.
Step 1 / 7
start sets the clock reading at Start from clock.now()
Running several stopwatches at once, or changing how often the UI updates? That is scheduling rather than math — see Data flow while running.
Normative methods: Stopwatch. Notify buckets: Options. now() units: Clock.
Start here
- Architecture — Clock → Store → Stopwatch
- Spec — public names, packaging, adapter constraints
- Agents — how coding agents should use the APIs
- Clock · Store · Stopwatch · Options
- Runtimes: Browser · Timer · Testing
Machine indexes: /llms.txt and /llms-full.txt.