MCPcopy Index your code
hub / github.com/Effect-TS/effect / repeatEffectOption

Function repeatEffectOption

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

Source from the content-addressed store, hash-verified

5232
5233/** @internal */
5234export const repeatEffectOption = <A, E, R>(effect: Effect.Effect<A, Option.Option<E>, R>): Stream.Stream<A, E, R> =>
5235 repeatEffectChunkOption(pipe(effect, Effect.map(Chunk.of)))
5236
5237/** @internal */
5238export const repeatEither = dual<

Callers 5

fromAsyncIterableFunction · 0.85
fromScheduleFunction · 0.85
fromReadableStreamFunction · 0.85
repeatEffectFunction · 0.85
stream.tsFile · 0.85

Calls 3

repeatEffectChunkOptionFunction · 0.85
pipeFunction · 0.70
mapMethod · 0.65

Tested by

no test coverage detected