Handle to cancel an operation. More...
#include <cancel-handle.hpp>
Public Member Functions | |
CancelHandle () noexcept | |
CancelHandle (std::function< void()> cancel) noexcept | |
void | cancel () const |
Cancel the operation. More... | |
Handle to cancel an operation.
Definition at line 32 of file cancel-handle.hpp.
|
inlinedefaultnoexcept |
Referenced by CancelHandle().
|
inlineexplicitnoexcept |
Definition at line 38 of file cancel-handle.hpp.
References cancel(), and CancelHandle().
void ndn::detail::CancelHandle::cancel | ( | ) | const |
Cancel the operation.
Definition at line 28 of file cancel-handle.cpp.
Referenced by nfd::rib::Route::cancelExpirationEvent(), CancelHandle(), nfd::face::TcpChannel::connect(), and nfd::measurements::Measurements::extendLifetime().