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 |
|
inlineexplicitnoexcept |
Definition at line 38 of file cancel-handle.hpp.
void ndn::detail::CancelHandle::cancel | ( | ) | const |
Cancel the operation.
Definition at line 28 of file cancel-handle.cpp.
Referenced by nfd::fw::NccStrategy::beforeSatisfyInterest(), nfd::rib::Route::cancelExpirationEvent(), nfd::measurements::Measurements::extendLifetime(), and nfd::DeadNonceList::~DeadNonceList().