std::execution::when_all
From cppreference.com
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Execution control library
when_all
Defined in header
<execution>
execution::sender auto when_all( execution::sender auto... inputs );
(since C++26)
Contents
[edit] Parameters
inputs
-
senders upon which the completion of
when_all
is blocked. Can only include senders that can complete with a single set of values.
[edit] Return value
Returns a sender that completes once all of the input senders have completed. The values sent by this sender are the values sent by each of the input senders, in order of the arguments passed to when_all
.
[edit] Notes
- The sender returned by
when_all
completes inline on the execution resource on which the last input sender completes, unlessstop
is requested beforewhen_all
is started, in which case it completes inline within the call to start.
[edit] Example
This section is incomplete
Reason: no example
Reason: no example