effect-io-ai

Package: effect
Module: Effect

Effect.withRandomScoped

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

Signature

declare const withRandomScoped: <A extends Random.Random>(value: A) => Effect<void, never, Scope.Scope>

Source

Since v2.0.0