summary refs log tree commit diff
path: root/synapse/util/async.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-04-01 14:15:27 +0100
committerErik Johnston <erik@matrix.org>2016-04-01 14:15:27 +0100
commit3f4eb4c92402d80d0f41501bf71a60a1b94f2756 (patch)
treecf03ca30a3617e5c47e5d34eb7cd094dffdc1a48 /synapse/util/async.py
parentAdd concurrently_execute function (diff)
downloadsynapse-3f4eb4c92402d80d0f41501bf71a60a1b94f2756.tar.xz
Comment
Diffstat (limited to 'synapse/util/async.py')
-rw-r--r--synapse/util/async.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/util/async.py b/synapse/util/async.py
index a75e1c71fb..cd4d90f3cf 100644
--- a/synapse/util/async.py
+++ b/synapse/util/async.py
@@ -121,7 +121,7 @@ def concurrently_execute(func, args, limit):
         limit (int): Maximum number of conccurent executions.
 
     Returns:
-        deferred
+        deferred: Resolved when all function invocations have finished.
     """
     it = iter(args)