Defined in header <execution> | ||
execution::senderauto when_all( execution::senderauto...inputs); | (since C++26) | |
Contents |
| inputs | - | senders upon which the completion ofwhen_all is blocked. Can only include senders that can complete with a single set of values. |
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 towhen_all.
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.| This section is incomplete Reason: no example |
(concurrency TS) | produces a future that becomes ready when all given futures orshared_futures are ready(function template)[edit] |