UNPKG

@effect-ts/system

Version:

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

20 lines 1.14 kB
import type * as C from "../core.js"; /** * Zips this stream with another point-wise. The provided functions will be used to create elements * for the composed stream. * * The functions `left` and `right` will be used if the streams have different lengths * and one of the streams has ended before the other. */ export declare function zipAllWith_<R, R1, E, E1, A, A1, A2, A3, A4>(self: C.Stream<R, E, A>, that: C.Stream<R1, E1, A1>, left: (a: A) => A2, right: (a1: A1) => A3, both: (a: A, a1: A1) => A4): C.Stream<R & R1, E | E1, A2 | A3 | A4>; /** * Zips this stream with another point-wise. The provided functions will be used to create elements * for the composed stream. * * The functions `left` and `right` will be used if the streams have different lengths * and one of the streams has ended before the other. * * @ets_data_first zipAllWith_ */ export declare function zipAllWith<R1, E1, A, A1, A2, A3, A4>(that: C.Stream<R1, E1, A1>, left: (a: A) => A2, right: (a1: A1) => A3, both: (a: A, a1: A1) => A4): <R, E>(self: C.Stream<R, E, A>) => C.Stream<R & R1, E1 | E, A2 | A3 | A4>; //# sourceMappingURL=zipAllWith.d.ts.map