Channel.close
void close() @trustedClose the channel, preventing further sends.
Pending receivers will be woken up and their receives will fail with ChannelErrorReason.CLOSED once the channel is drained.
void close() @trustedClose the channel, preventing further sends.
Pending receivers will be woken up and their receives will fail with ChannelErrorReason.CLOSED once the channel is drained.