when_all |
Defined in
<concurrency/future.hpp> |
Creates a joining future
(1) | ||
(2) |
(1)
Creates a joining future. When all passed args
futures are fulfilled, then the continuation tasks defined with f
is scheduled on the executor executor
.
Parameters
Executor which is used to schedule the resulting task |
|||
Callable object that implements the continuing task |
|||
Describes the range of futures. If an empty range is provided then an stlab::future_exception with code stlab::future_errc::broken_promise is thrown. |
(2)
Creates a joining future out of the given range. In case that it is a range of futures of move-only types, the futures are moved internally out of the range into the function.
Parameters
Executor which is used to schedule the resulting task |
|||
Callable object that implements the continuing task |
|||
Returns
The continuation on the group of passed futures.