libcoro  1.0
Coroutine support library for C++20

◆ cancel()

template<typename CondVar >
pending_cancel coro::scheduler_t< CondVar >::cancel ( ident_t  ident)
inline

Cancel scheduled operation.

Parameters
identidentity of the scheduled operation
Returns
an object, which must be held in order to prevent futher attempts to schedule an operation under the same identity. This helps to synchronize with loops.

Definition at line 266 of file scheduler.h.