MCPcopy
hub / github.com/Effect-TS/effect / sleep

Method sleep

packages/effect/src/Clock.ts:50–50  ·  view source on GitHub ↗

* Asynchronously sleeps for the specified duration.

(duration: Duration.Duration)

Source from the content-addressed store, hash-verified

48 * Asynchronously sleeps for the specified duration.
49 */
50 sleep(duration: Duration.Duration): Effect.Effect<void>
51}
52
53/**

Callers 15

e2eSuiteFunction · 0.65
suiteFunction · 0.65
FileSystem.test.tsFile · 0.65
Sink.test.tsFile · 0.65
HttpServer.test.tsFile · 0.65
e2eSuiteFunction · 0.65
Socket.test.tsFile · 0.65
api.tsFile · 0.65

Implementers 2

TestClockImplpackages/effect/src/TestClock.ts
ClockImplpackages/effect/src/internal/clock.ts

Calls

no outgoing calls

Tested by 5

asyncIOFunction · 0.52
plus1Function · 0.52
makeChildFunction · 0.52
getSubFunction · 0.52
effectifyFunction · 0.52