asio C++ library

PrevUpHomeNext

experimental::promise::cancel

Cancel the promise. Usually done through the destructor.

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

PrevUpHomeNext