PyDocs

Nav

Networking and Interprocess Communication

Queue.join

asyncio

async method of Queue (source) not WASI
  • Queue.join()
Block until all items in the queue have been gotten and processed.

The count of unfinished tasks goes up whenever an item is added to
the queue.  The count goes down whenever a consumer calls
task_done() to indicate that the item was retrieved and all work on
it is complete.  When the count of unfinished tasks drops to zero,
join() unblocks.
0 Examples
No examples for asyncio/Queue.join.
See Also
No see-alsos for asyncio/Queue.join
0 Notes
No notes for Queue.join