libcoro  1.0
Coroutine support library for C++20

◆ unset_callback()

template<typename T >
bool coro::future< T >::unset_callback ( )
inline

unset callback

Function is useful to disarm callback if there is possibility, that callback can access objects going to be destroyed.

Return values
trueunset
falsefuture is already resolved

Definition at line 628 of file future.h.