std::execution::when_all

Header: <execution>

1 Parameters

# Declarations

execution::sender auto when_all( execution::sender auto... inputs );

(since C++26)

# Parameters

# 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.

# Notes

The sender returned by when_all completes inline on the execution resource on which the last input sender completes, unless stop is requested before when_all is started, in which case it completes inline within the call to start.

# Example

This section is incompleteReason: no example

# See also