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

Method sleep

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

* Asynchronously sleeps for the specified duration. * * **When to use** * * Use to delay an `Effect` workflow by a duration through this `Clock` service.

(duration: Duration.Duration)

Source from the content-addressed store, hash-verified

150 * Use to delay an `Effect` workflow by a duration through this `Clock` service.
151 */
152 sleep(duration: Duration.Duration): Effect<void>
153}
154
155/**

Implementers 1

ClockImplpackages/effect/src/internal/effect.ts

Calls

no outgoing calls

Tested by 15

liveSleepFunction · 0.52
applyFunction · 0.52
handlerFunction · 0.52
makeFreezableClockFunction · 0.52
untilFunction · 0.52
makeFunction · 0.52
makeInnerFunction · 0.52
makeAppFunction · 0.52
apiFunction · 0.52
renameFunction · 0.52
parentFunction · 0.52
titledFunction · 0.52