asio C++ library

PrevUpHomeNext

experimental::promise< void(Ts...), Executor >::cancel

Cancel the promise. Usually done through the destructor.

void cancel(
    cancellation_type level = cancellation_type::all);

PrevUpHomeNext