Template Function concore::v1::set_done¶
Defined in File execution.hpp
Function Documentation¶
-
template<typename
Receiver>
voidconcore::v1::set_done(Receiver &&r)¶ Customization point object that can be used to signal stop to receivers.
This is called by a sender whenever the sender is stopped, and the execution of the task cannot continue. When this is called,
set_value() is not called anymore.- Parameters
r: The receiver object that is signaled about sender’s stop signal
The
Receivertype should model concept receiver.