UNPKG

@effect-ts/system

Version:

Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.

11 lines (8 loc) 288 B
// ets_tracing: off import * as CH from "../Channel/index.js" import * as C from "./core.js" export function dropLeftover<R, InErr, In, OutErr, L, Z>( self: C.Sink<R, InErr, In, OutErr, L, Z> ): C.Sink<R, InErr, In, OutErr, unknown, Z> { return new C.Sink(CH.drain(self.channel)) }