summaryrefslogtreecommitdiff
path: root/smart_future.py
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2021-07-08 19:44:27 -0700
committerScott Gasch <[email protected]>2021-07-08 19:44:27 -0700
commit3bc4daf1edc121cd633429187392227f2fa61885 (patch)
tree0663cf35f562c7023c914454c85050d502ad9f3c /smart_future.py
parent5fd30ef12c100cbb936aa0fdb515b67cff4064db (diff)
Lots of changes.
Diffstat (limited to 'smart_future.py')
-rw-r--r--smart_future.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/smart_future.py b/smart_future.py
index f1ffee1..e4832d4 100644
--- a/smart_future.py
+++ b/smart_future.py
@@ -12,7 +12,7 @@ import id_generator
T = TypeVar('T')
-def wait_many(futures: List[SmartFuture], *, callback: Callable = None):
+def wait_any(futures: List[SmartFuture], *, callback: Callable = None):
finished: Mapping[int, bool] = {}
x = 0
while True: