libcoro  1.0
Coroutine support library for C++20

◆ operator!()

template<typename T , typename SubscribeFn = function<prepared_coro(promise<T>)>>
canceled_awaiter coro::subscription< T, SubscribeFn >::operator! ( )
inline

wait and determine whether operation is canceled

awaitable - use co_await

Return values
truecanceled
falsehas value

You can use !! for negation of meaning

Definition at line 92 of file subscription.h.