/** * @tsplus static effect/core/stream/Channel.Ops unit */ export const unit: Channel = Channel.succeed( undefined ) /** * Ignores the result of the effect replacing it with a void * * @tsplus getter effect/core/stream/Channel unit */ export function unit_( self: Channel ): Channel { return self.flatMap(() => Channel.unit) }