effect-io-ai

Package: effect
Module: Random

Random.randomWith

Retreives the Random service from the context and uses it to run the specified workflow.

Signature

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

Source

Since v2.0.0