mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-03 03:32:32 +00:00
Stdlib: asyncdispatch: all proc: Replace req with openarray.
This commit is contained in:
@@ -355,7 +355,7 @@ proc `or`*[T, Y](fut1: Future[T], fut2: Future[Y]): Future[void] =
|
||||
fut2.callback = cb
|
||||
return retFuture
|
||||
|
||||
proc all*[A](futs: seq[Future[A]]): Future[seq[A]] =
|
||||
proc all*[A](futs: openarray[Future[A]]): Future[seq[A]] =
|
||||
## Returns a future which will complete once all futures in ``futs``
|
||||
## complete.
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user