libcoro  1.0
Coroutine support library for C++20

◆ reject() [1/3]

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

reject or cancel the future with exception

If called inside of cach block, it rejects with current notification, otherwise it cancelles

Returns
deferred notification

Definition at line 257 of file future.h.

+ Here is the caller graph for this function: