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

Function foldLeftChunksEffect

packages/effect/src/internal/sink.ts:1060–1063  ·  view source on GitHub ↗
(
  s: S,
  f: (s: S, chunk: Chunk.Chunk<In>) => Effect.Effect<S, E, R>
)

Source from the content-addressed store, hash-verified

1058
1059/** @internal */
1060export const foldLeftChunksEffect = <S, In, E, R>(
1061 s: S,
1062 f: (s: S, chunk: Chunk.Chunk<In>) => Effect.Effect<S, E, R>
1063): Sink.Sink<S, In, never, E, R> => ignoreLeftover(foldChunksEffect(s, constTrue, f))
1064
1065/** @internal */
1066export const foldLeftEffect = <S, In, E, R>(

Callers

nothing calls this directly

Calls 2

ignoreLeftoverFunction · 0.85
foldChunksEffectFunction · 0.85

Tested by

no test coverage detected