MCPcopy
hub / github.com/statelyai/xstate / Clock

Interface Clock

packages/core/src/system.ts:22–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22export interface Clock {
23 setTimeout(fn: (...args: any[]) => void, timeout: number): any;
24 clearTimeout(id: any): void;
25}
26
27interface Scheduler {
28 schedule(

Callers 2

createSystemFunction · 0.65
createSystemFunction · 0.65

Implementers 1

SimulatedClockpackages/core/src/SimulatedClock.ts

Calls

no outgoing calls

Tested by

no test coverage detected