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 871 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 sliding managed queue of chunks. After the managed queue is used, * the queue will never again produce values and should be discarded. */ export declare function toQueueSliding_<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 sliding managed queue of chunks. After the managed queue is used, * the queue will never again produce values and should be discarded. * * @ets_data_first toQueueSliding_ */ export declare function toQueueSliding(capacity?: number): <R, E, A>(self: C.Stream<R, E, A>) => M.RIO<R, Q.Queue<TK.Take<E, A>>>; //# sourceMappingURL=toQueueSliding.d.ts.map