Skip to content

Commit e28ecf7

Browse files
committed
add doc for buffersize argument
1 parent 0d5ccb7 commit e28ecf7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Add the optional ``buffersize`` parameter to
2+
:meth:`multiprocessing.pool.Pool.imap` and
3+
:meth:`multiprocessing.pool.Pool.imap_unordered` to limit the number of
4+
submitted tasks whose results have not yet been yielded. If the buffer is
5+
full, iteration over the *iterables* pauses until a result is yielded from
6+
the buffer.

0 commit comments

Comments
 (0)