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

Function collectAllOutputs

packages/effect/src/internal/schedule.ts:382–385  ·  view source on GitHub ↗
(
  self: Schedule.Schedule<Out, In, R>
)

Source from the content-addressed store, hash-verified

380
381/** @internal */
382export const collectAllOutputs = <Out, In, R>(
383 self: Schedule.Schedule<Out, In, R>
384): Schedule.Schedule<Chunk.Chunk<Out>, In, R> =>
385 reduce(self, Chunk.empty<Out>(), (outs, out) => pipe(outs, Chunk.append(out)))
386
387/** @internal */
388export const collectUntil = <A>(f: Predicate<A>): Schedule.Schedule<Chunk.Chunk<A>, A> =>

Callers 5

collectAllInputsFunction · 0.85
collectUntilFunction · 0.85
collectUntilEffectFunction · 0.85
collectWhileFunction · 0.85
collectWhileEffectFunction · 0.85

Calls 2

reduceFunction · 0.70
pipeFunction · 0.70

Tested by

no test coverage detected