effect-io-ai

Package: effect
Module: TestClock

TestClock.sleep

Semantically blocks the current fiber until the clock time is equal to or greater than the specified duration. Once the clock time is adjusted to on or after the duration, the fiber will automatically be resumed.

Signature

declare const sleep: (durationInput: Duration.DurationInput) => Effect.Effect<void>

Source

Since v2.0.0