// 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 the specified stream terminates. */ export function mergeTerminateRight_( self: C.Stream, that: C.Stream ): C.Stream { return Merge.merge_(self, that, "Right") } /** * Merges this stream and the specified stream together. New produced stream will * terminate when the specified stream terminates. * @ets_data_first mergeTerminateRight_ */ export function mergeTerminateRight(that: C.Stream) { return (self: C.Stream) => mergeTerminateRight_(self, that) }