effect-io-ai

Package: effect
Module: Effect

Effect.randomWith

Retrieves the Random service from the context and uses it to run the specified effect.

Signature

declare const randomWith: <A, E, R>(f: (random: Random.Random) => Effect<A, E, R>) => Effect<A, E, R>

Source

Since v2.0.0