/** * Returns a new channel that will perform the operations of this one, until * failure, and then it will switch over to the operations of the specified * fallback channel. * * @tsplus pipeable-operator effect/core/stream/Channel | * @tsplus static effect/core/stream/Channel.Aspects orElse * @tsplus pipeable effect/core/stream/Channel orElse */ export function orElse( that: LazyArg> ) { return ( self: Channel ): Channel< Env | Env1, InErr & InErr1, InElem & InElem1, InDone & InDone1, OutErr1, OutElem | OutElem1, OutDone | OutDone1 > => self.catchAll(that) }