import * as tsplus_module_1 from "@effect/core/stream/Stream/TerminationStrategy";
import * as tsplus_module_2 from "@effect/core/stream/Stream/operations/drain";
import * as tsplus_module_3 from "@effect/core/stream/Stream/operations/merge";
/**
 * Merges this stream and the specified stream together, discarding the values
 * from the left stream.
 *
 * @tsplus fluent ets/Stream mergeRight
 */

export function mergeRight_(self, that, strategy = () => tsplus_module_1.both, __tsplusTrace) {
  return tsplus_module_3.merge_(tsplus_module_2.drain(self, __tsplusTrace), that, strategy, __tsplusTrace);
}
/**
 * Merges this stream and the specified stream together, discarding the values
 * from the left stream.
 *
 * @tsplus static ets/Stream/Aspects mergeRight
 */

export const mergeRight = (that, strategy = () => TerminationStrategy.Both, __tsplusTrace) => self => mergeRight_(self, that, strategy, __tsplusTrace);
//# sourceMappingURL=mergeRight.mjs.map