effect-io-ai

Package: effect
Module: Effect

Effect.withClockScoped

Sets the implementation of the Clock service to the specified value and restores it to its original value when the scope is closed.

Signature

declare const withClockScoped: <C extends Clock.Clock>(clock: C) => Effect<void, never, Scope.Scope>

Source

Since v2.0.0