Package: effect
Module: Effect
Returns an array of n identical effects.
When to use
Use when you need an array of identical effect values without running them yet.
Details
This only creates the array of effects. It does not run or collect them.
See
all for running the returned effects and collecting resultsreplicateEffect for repeating an effect and collecting results in one step with concurrency and discard optionsSignature
declare const replicate: { (n: number): <A, E, R>(self: Effect<A, E, R>) => Array<Effect<A, E, R>>; <A, E, R>(self: Effect<A, E, R>, n: number): Array<Effect<A, E, R>>; }
Since v2.0.0