effect-io-ai

Package: effect
Module: STM

STM.replicateSTM

Performs this transaction the specified number of times and collects the results.

Signature

declare const replicateSTM: { (n: number): <A, E, R>(self: STM<A, E, R>) => STM<Array<A>, E, R>; <A, E, R>(self: STM<A, E, R>, n: number): STM<Array<A>, E, R>; }

Source

Since v2.0.0