// ets_tracing: off import type * as C from "../core.js" import * as Merge from "./merge.js" /** * Merges this stream and the specified stream together. New produced stream will * terminate when either stream terminates. */ export function mergeTerminateEither_( self: C.Stream, that: C.Stream ): C.Stream { return Merge.merge_(self, that, "Either") } /** * Merges this stream and the specified stream together. New produced stream will * terminate when either stream terminates. * * @ets_data_first mergeTerminateEither_ */ export function mergeTerminateEither(that: C.Stream) { return (self: C.Stream) => mergeTerminateEither_(self, that) }