MCPcopy Create free account
hub / github.com/Effect-TS/effect / TestClock.ts

File TestClock.ts

packages/effect/src/testing/TestClock.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Controllable `Clock` service for tests.
3 *
4 * Instead of waiting for real time to pass, effects that use `Effect.sleep`,

Callers

nothing calls this directly

Calls 13

advanceToFunction · 0.85
pushMethod · 0.80
addFinalizerMethod · 0.80
makeMethod · 0.65
withPermitsMethod · 0.65
pipeMethod · 0.65
awaitMethod · 0.65
openUnsafeMethod · 0.65
BigIntInterface · 0.50
stepFunction · 0.50
flipMethod · 0.45
syncMethod · 0.45

Tested by

no test coverage detected