Update concurrently.py
- ID
a46fa6f- date
2022-01-04 08:12:47+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
3ec92e3- message
Update concurrently.py- changed files
1 file, 3 additions
Changed files
concurrently.py (1155) → concurrently.py (1286)
diff --git a/concurrently.py b/concurrently.py
index 540b6b9..e1ecae6 100644
--- a/concurrently.py
+++ b/concurrently.py
@@ -10,6 +10,9 @@ def concurrently(fn, inputs, *, max_concurrency=5):
individual values in the iterable ``inputs``.
Generates (input, output) tuples as the calls to ``fn`` complete.
+
+ See https://alexwlchan.net/2019/10/adventures-with-concurrent-futures/ for an explanation
+ of how this function works.
"""
# Make sure we get a consistent iterator throughout, rather than