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

Function ignoreLeftover

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

Source from the content-addressed store, hash-verified

1503
1504/** @internal */
1505export const ignoreLeftover = <A, In, L, E, R>(self: Sink.Sink<A, In, L, E, R>): Sink.Sink<A, In, never, E, R> =>
1506 new SinkImpl(channel.drain(toChannel(self)))
1507
1508/** @internal */
1509export const last = <In>(): Sink.Sink<Option.Option<In>, In, In> =>

Callers 2

foldLeftFunction · 0.85
foldLeftChunksEffectFunction · 0.85

Calls 1

toChannelFunction · 0.70

Tested by

no test coverage detected