21 #include <quentier/utility/cancelers/ICanceler.h> 34 explicit FutureCanceler(QFuture<T> future) : m_future{std::move(future)} {}
36 [[nodiscard]]
bool isCanceled()
const noexcept
override 38 return m_future.isCanceled();
Definition: FutureCanceler.h:31
Definition: AnyOfCanceler.h:26
The ICanceler interface provides isCanceled method which can be used to check whether some processing...
Definition: ICanceler.h:29