Asynchronous I/O that doesn’t get in your way, written in D
Closes the channel.
void close() shared;
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