// ets_tracing: off import * as E from "../../../../Either/index.js" import type * as C from "../core.js" import * as MergeWith from "./mergeWith.js" /** * Merges this stream and the specified stream together to produce a stream of * eithers. */ export function mergeEither_( self: C.Stream, that: C.Stream ): C.Stream> { return MergeWith.mergeWith(self, that, E.left, E.right) } /** * Merges this stream and the specified stream together to produce a stream of * eithers. * * @ets_data_first mergeEither_ */ export function mergeEither(that: C.Stream) { return (self: C.Stream) => mergeEither_(self, that) }