import * as tsplus_module_1 from "@effect/core/stream/Stream/TerminationStrategy";
import * as tsplus_module_2 from "@effect/core/stream/Stream/operations/merge";
/**
 * Merges this stream and the specified stream together. New produced stream
 * will terminate when either stream terminates.
 *
 * @tsplus fluent ets/Stream mergeTerminateEither
 */

export function mergeTerminateEither_(self, that, __tsplusTrace) {
  return tsplus_module_2.merge_(self, that, () => tsplus_module_1.either, __tsplusTrace);
}
/**
 * Merges this stream and the specified stream together. New produced stream
 * will terminate when either stream terminates.
 *
 * @tsplus static ets/Stream/Aspects mergeTerminateEither
 */

export const mergeTerminateEither = (that, __tsplusTrace) => self => mergeTerminateEither_(self, that, __tsplusTrace);
//# sourceMappingURL=mergeTerminateEither.mjs.map