What's the name of this property of asynchronous actions. (boost asio related)
问题 The property could be described like so: if the action gets cancelled, it's handler is guaranteed to be executed with an error . For example, the boost::asio::deadline_timer doesn't have this property as described in the Remarks section of documentation for deadline_timer::cancel function. So it is possible that even though one cancels a waiting operation on a timer, its callback gets executed without an error. On the other hand, the property holds for asio sockets (at least I hope so :) as