Closes the channel.
A closed channel does not accept any new items enqueued using put and causes empty to return fals as soon as all preceeding elements have been consumed.
See Implementation
Closes the channel.
A closed channel does not accept any new items enqueued using put and causes empty to return fals as soon as all preceeding elements have been consumed.