UNPKG

@effect-ts/system

Version:

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

17 lines 877 B
import * as M from "../../../../Managed/index.js"; import * as Q from "../../../../Queue/index.js"; import type * as TK from "../../Take/index.js"; import type * as C from "../core.js"; /** * Converts the stream to a dropping managed queue of chunks. After the managed queue is used, * the queue will never again produce values and should be discarded. */ export declare function toQueueDropping_<R, E, A>(self: C.Stream<R, E, A>, capacity?: number): M.RIO<R, Q.Queue<TK.Take<E, A>>>; /** * Converts the stream to a dropping managed queue of chunks. After the managed queue is used, * the queue will never again produce values and should be discarded. * * @ets_data_first toQueueDropping_ */ export declare function toQueueDropping(capacity?: number): <R, E, A>(self: C.Stream<R, E, A>) => M.RIO<R, Q.Queue<TK.Take<E, A>>>; //# sourceMappingURL=toQueueDropping.d.ts.map