Template Function concore::v1::submit¶
Defined in File execution.hpp
Function Documentation¶
-
template<sender
Sender, receiverReceiver>
voidconcore::v1::submit(Sender &&snd, Receiver &&rcv)¶ Submit work from a sender, by combining it with a receiver.
The
sender_to<Sender, Receiver>concept must hold.- Parameters
snd: The sender object, that triggers the workrcv: The receiver object that receives the results of the work
If there is no submit() customization point defined for the given
Senderobject (taking aReceiverobject), then this will fall back to calling concore::connect().Usage example:
submit(snd, rcv);
- See