![]() |
Home | Libraries | People | FAQ | More |
(Inherited from async_base)
Returns the cancellation recorded for this operation.
net::cancellation_type cancelled() const;
The record is the allowed part of the most recent cancellation emitted on the slot associated with the final completion handler, and is discarded when the allowed types are set. A composed operation should check it when it resumes, before starting another intermediate operation, since a cancellation emitted after the previous one completed had no intermediate operation to cancel.
The allowed types of the most recent emission, or net::cancellation_type::none.