MCPcopy Create free account
hub / github.com/Effect-TS/effect / ignoreLeftover

Function ignoreLeftover

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

Source from the content-addressed store, hash-verified

707 * @since 2.0.0
708 */
709export const ignoreLeftover = <A, In, L, E, R>(self: Sink<A, In, L, E, R>): Sink<A, In, never, E, R> =>
710 mapEnd(self, ([a]) => [a])
711
712/**
713 * Consumes and ignores all stream inputs.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected