ID EN
Multiprocessing

map

Python 3.11

A parallel equivalent of the map() built-in function (it supports only one iterable argument though, for multiple iterables see starmap()). It blocks until the result is ready.

Syntax

PYTHON
map(func, iterable[, chunksize])

See Also

map() starmap() imap() imap_unordered()