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

Function collectWhile

packages/effect/src/internal/schedule.ts:397–398  ·  view source on GitHub ↗
(f: Predicate<A>)

Source from the content-addressed store, hash-verified

395
396/** @internal */
397export const collectWhile = <A>(f: Predicate<A>): Schedule.Schedule<Chunk.Chunk<A>, A> =>
398 collectAllOutputs(recurWhile(f))
399
400/** @internal */
401export const collectWhileEffect = <A, R>(

Callers

nothing calls this directly

Calls 2

collectAllOutputsFunction · 0.85
recurWhileFunction · 0.85

Tested by

no test coverage detected