/** * Performs this effect the specified number of times and collects the * results. * * @tsplus static effect/core/io/Effect.Aspects replicateEffect * @tsplus pipeable effect/core/io/Effect replicateEffect */ export function replicateEffect(n: number) { return (self: Effect): Effect> => Effect.collectAll(self.replicate(n)) }