Template Function concore::v1::set_error¶
Defined in File execution.hpp
Function Documentation¶
-
template<typename
Receiver, typenameErr>
voidconcore::v1::set_error(Receiver &&r, Err &&e)¶ Customization point object that can be used to notify receivers of errors.
This is called by a sender whenever the sender has an error to report to the sender. Sending an error means that the sender is done processing; it will not call
set_value() and set_done().- Parameters
r: The receiver object that is signaled about sender’s errore: The error to be to the receiver
The
Receivertype should model conceptreceiver<E>.