MCPcopy Create free account
hub / github.com/Effect-TS/effect / repeatEffect

Function repeatEffect

packages/effect/src/internal/stream.ts:5251–5252  ·  view source on GitHub ↗
(effect: Effect.Effect<A, E, R>)

Source from the content-addressed store, hash-verified

5249
5250/** @internal */
5251export const repeatEffect = <A, E, R>(effect: Effect.Effect<A, E, R>): Stream.Stream<A, E, R> =>
5252 repeatEffectOption(pipe(effect, Effect.mapError(Option.some)))
5253
5254/** @internal */
5255export const repeatEffectChunk = <A, E, R>(effect: Effect.Effect<Chunk.Chunk<A>, E, R>): Stream.Stream<A, E, R> =>

Callers

nothing calls this directly

Calls 2

repeatEffectOptionFunction · 0.85
pipeFunction · 0.70

Tested by

no test coverage detected