Template Function concore::v1::set_done

Function Documentation

template<typename Receiver>
void concore::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 Receiver type should model concept receiver.

See

set_value(), set_error(), receiver