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 right stream.
 *
 * @tsplus fluent ets/Stream mergeLeft
 */

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

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