We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3186c03 commit 4b35a76Copy full SHA for 4b35a76
base/task.jl
@@ -377,6 +377,12 @@ completed tasks completes with an exception.
377
378
The return value consists of two task vectors. The first one consists of
379
completed tasks, and the other consists of uncompleted tasks.
380
+
381
+!!! warning
382
+ This may scale poorly compared to writing code that uses multiple individual tasks that
383
+ each runs serially, since this needs to scan the list of `tasks` each time and
384
+ synchronize with each one every time this is called. Or consider using
385
+ [`waitall(tasks; failfast=true)`](@ref waitall) instead.
386
"""
387
waitany(tasks; throw=true) = _wait_multiple(tasks, throw)
388
0 commit comments