Lots of changes.
[python_utils.git] / smart_future.py
index f1ffee1c63250b4fb0d0be319a8090ce406f5fc0..e4832d43d5b1674988628e5dae43a67cf8ed0565 100644 (file)
@@ -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: