Types
AllFuturesFailedError = object of CatchableError
- Source Edit
Procs
proc anyCompleted[T](futs: seq[Future[T]]): Future[Future[T]] {. stackTrace: false, ...gcsafe, raises: [], raises: [], raises: [].}
- Returns a future that will complete with the first future that completes. If all futures fail or futs is empty, the returned future will fail with AllFuturesFailedError. Source Edit