method
close
v2_4_6 -
Show latest stable
- Class:
SizedQueue
close()public
Similar to Queue#close.
The difference is behavior with waiting enqueuing threads.
If there are waiting enqueuing threads, they are interrupted by raising ClosedQueueError(‘queue closed’).