Channel.close

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.

  1. void close()
    struct Channel(T, size_t buffer_size = 100)
    void
    close
    ()
  2. void close()

Meta