ID EN
Multiprocessing

apply

Python 3.11

Call func with arguments args and keyword arguments kwds. It blocks until the result is ready. Given this blocks, apply_async() is better suited for performing work in parallel. Additionally, func is only executed in one of the workers of the pool.

Syntax

PYTHON
apply(func[, args[, kwds]])

See Also

apply_async()