MCPcopy Create free account
hub / github.com/effect-app/libs / sleep

Method sleep

repos/effect/packages/effect/src/Clock.ts:82–82  ·  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

80 /**
81 * Returns the current Unix time in nanoseconds unsafely.
82 *
83 * **When to use**
84 *
85 * Use to read a wall-clock timestamp synchronously when you already have a

Callers 15

effectFunction · 0.65
effectFunction · 0.65
makeImplLayerFunction · 0.65
waitForSuspendedFunction · 0.65
waitForStepFunction · 0.65
waitForCompleteFunction · 0.65
runSuiteFunction · 0.65

Implementers 1

ClockImplrepos/effect/packages/effect/src/inter

Calls

no outgoing calls

Tested by 11

effectFunction · 0.52
effectFunction · 0.52
makeImplLayerFunction · 0.52
waitForSuspendedFunction · 0.52
waitForStepFunction · 0.52
waitForCompleteFunction · 0.52
runSuiteFunction · 0.52
pollUntilCompleteFunction · 0.52