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

Function repeatEffectChunk

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

Source from the content-addressed store, hash-verified

5253
5254/** @internal */
5255export const repeatEffectChunk = <A, E, R>(effect: Effect.Effect<Chunk.Chunk<A>, E, R>): Stream.Stream<A, E, R> =>
5256 repeatEffectChunkOption(pipe(effect, Effect.mapError(Option.some)))
5257
5258/** @internal */
5259export const repeatEffectChunkOption = <A, E, R>(

Callers

nothing calls this directly

Calls 2

repeatEffectChunkOptionFunction · 0.85
pipeFunction · 0.70

Tested by

no test coverage detected