userver: engine::TaskCancellationBlocker Class Reference
Loading...
Searching...
No Matches
engine::TaskCancellationBlocker Class Referencefinal

#include <userver/engine/task/cancel.hpp>

Detailed Description

Blocks cancellation for specific scopes, e.g. destructors. Recursive, i.e. can be instantiated multiple times in a given call stack.

Definition at line 76 of file cancel.hpp.

Public Member Functions

 TaskCancellationBlocker (const TaskCancellationBlocker &)=delete
 
 TaskCancellationBlocker (TaskCancellationBlocker &&)=delete
 
TaskCancellationBlockeroperator= (const TaskCancellationBlocker &)=delete
 
TaskCancellationBlockeroperator= (TaskCancellationBlocker &&)=delete
 

The documentation for this class was generated from the following file: