MCPcopy
hub / github.com/Effect-TS/effect / foldLeftChunks

Function foldLeftChunks

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

Source from the content-addressed store, hash-verified

1052
1053/** @internal */
1054export const foldLeftChunks = <S, In>(
1055 s: S,
1056 f: (s: S, chunk: Chunk.Chunk<In>) => S
1057): Sink.Sink<S, In> => foldChunks(s, constTrue, f)
1058
1059/** @internal */
1060export const foldLeftChunksEffect = <S, In, E, R>(

Callers 4

collectAllToMapFunction · 0.85
collectAllToSetFunction · 0.85
lastFunction · 0.85
sink.tsFile · 0.85

Calls 1

foldChunksFunction · 0.85

Tested by

no test coverage detected