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

Function dropUntil

packages/effect/src/internal/sink.ts:571–574  ·  view source on GitHub ↗
(predicate: Predicate<In>)

Source from the content-addressed store, hash-verified

569
570/** @internal */
571export const dropUntil = <In>(predicate: Predicate<In>): Sink.Sink<unknown, In, In> =>
572 new SinkImpl(
573 pipe(toChannel(dropWhile((input: In) => !predicate(input))), channel.pipeToOrFail(toChannel(drop<In>(1))))
574 )
575
576/** @internal */
577export const dropUntilEffect = <In, E, R>(

Callers

nothing calls this directly

Calls 5

dropWhileFunction · 0.85
dropFunction · 0.85
pipeFunction · 0.70
toChannelFunction · 0.70
predicateFunction · 0.50

Tested by

no test coverage detected