ID EN
Multiprocessing

task_done

Python 3.11

Indicate that a formerly enqueued task is complete. Used by queue consumers. For each get() used to fetch a task, a subsequent call to task_done() tells the queue that the processing on the task is complete.

Syntax

PYTHON
task_done()

See Also

get() task_done() join() task_done() put() ValueError