@effect-ts/system
Version:
Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.
19 lines • 888 B
TypeScript
import type * as C from "../core.js";
import * as MergeWith from "./mergeWith.js";
/**
* Merges this stream and the specified stream together.
*
* New produced stream will terminate when both specified stream terminate if no termination
* strategy is specified.
*/
export declare function merge_<R, R1, E, E1, A, A1>(self: C.Stream<R, E, A>, that: C.Stream<R1, E1, A1>, strategy?: MergeWith.TerminationStrategy): C.Stream<R1 & R, E | E1, A | A1>;
/**
* Merges this stream and the specified stream together.
*
* New produced stream will terminate when both specified stream terminate if no termination
* strategy is specified.
*
* @ets_data_first merge_
*/
export declare function merge<R1, E1, A1>(that: C.Stream<R1, E1, A1>, strategy?: MergeWith.TerminationStrategy): <R, E, A>(self: C.Stream<R, E, A>) => C.Stream<R1 & R, E1 | E, A1 | A>;
//# sourceMappingURL=merge.d.ts.map