/** * Returns a new channel that is the same as this one, except the terminal * value of the channel is the specified constant value. * * This method produces the same result as mapping this channel to the * specified constant value. * * @tsplus static effect/core/stream/Channel.Aspects as * @tsplus pipeable effect/core/stream/Channel as */ export function as(z2: OutDone2) { return ( self: Channel ): Channel => self.map(() => z2) }