method

close

Importance_1
v2_6_3 - Show latest stable - 0 notes - 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’).

Show source
Register or log in to add new notes.