libcoro  1.0
Coroutine support library for C++20

◆ cancel()

template<typename T , bool atomic>
notify coro::promise< T, atomic >::cancel ( )
inline

cancel the future (resolve without value)

Returns
deferred notification

Definition at line 222 of file future.h.

+ Here is the caller graph for this function: