import { TerminationStrategy } from "@effect/core/stream/Stream//TerminationStrategy" /** * Merges this stream and the specified stream together. New produced stream * will terminate when either stream terminates. * * @tsplus static effect/core/stream/Stream.Aspects mergeTerminateEither * @tsplus pipeable effect/core/stream/Stream mergeTerminateEither */ export function mergeTerminateEither(that: Stream) { return (self: Stream): Stream => self.merge(that, TerminationStrategy.Either) }