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

Function collectAllFrom

packages/effect/src/internal/sink.ts:114–121  ·  view source on GitHub ↗
(
  self: Sink.Sink<A, In, L, E, R>
)

Source from the content-addressed store, hash-verified

112
113/** @internal */
114export const collectAllFrom = <A, In, L extends In, E, R>(
115 self: Sink.Sink<A, In, L, E, R>
116): Sink.Sink<Chunk.Chunk<A>, In, L, E, R> =>
117 collectAllWhileWith(self, {
118 initial: Chunk.empty<A>(),
119 while: constTrue,
120 body: (chunk, a) => pipe(chunk, Chunk.append(a))
121 })
122
123/** @internal */
124export const collectAllToMap = <In, K>(

Callers

nothing calls this directly

Calls 1

pipeFunction · 0.70

Tested by

no test coverage detected