Function BlockingQueue.closed

returns true if queue is closed

bool closed() @property;