Defined in header <execution> | ||
template<std::move_constructible Error> execution::senderauto stopped_as_error( execution::senderauto snd, Error err); | (since C++26) | |
| snd | - | input sender of which the stopped channel is mapped intoerr |
| err | - | error to which the stop channel is mapped into |
Returns a sender that maps the stopped channel to an error oferr.
| This section is incomplete Reason: no example |