Skip to content

SYSTEM_CLOCK

const SYSTEM_CLOCK: Clock

Defined in: packages/core/src/time/clock.ts:26

The real clock: performance.now() and setTimeout.

const cancel = SYSTEM_CLOCK.setTimer(SYSTEM_CLOCK.now() + 500, tick);