A cancellation state is used for chaining signals and slots in compositions.
class cancellation_state
Name |
Description |
---|---|
cancellation_state [constructor] |
Construct a disconnected cancellation state. |
Returns the cancellation types that have been triggered. |
|
Clears the specified cancellation types, if they have been triggered. |
|
Returns the single child slot associated with the state. |
Header: asio/cancellation_state.hpp
Convenience header: asio.hpp