Channel.close

void close() @trusted

Close the channel, preventing further sends.

Pending receivers will be woken up and receive ChannelStatus.CLOSED once the channel is drained.