post_ack_mechanism
post_ack_mechanism
is the producer class of post-ack. It can asynchronously
post a value, which will only complete once all consumers acknowledge the value.
Prototype
template <typename T>
struct post_ack_mechanism {
sender post(T object); // (1)
};
- Asynchronously post a value.
Requirements
T
is moveable.
Arguments
object
- the value to post.
Return values
- This method returns a sender of unspecified type. The sender doesn't return any value.