Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

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

template<
    typename... Ts,
    typename Executor>
struct promise< void(Ts...), Executor >
Types

Name

Description

promise< void(Ts...), Executor >::rebind_executor

Rebinds the promise type to another executor.

Member Functions

Name

Description

async_wait

Wait for the promise to become ready.

cancel

Cancel the promise. Usually done through the destructor.

complete

Check if the promise is completed already.

get_executor

Get the executor of the promise.

promise

~promise [destructor]

Requirements

Header: boost/asio/experimental/promise.hpp

Convenience header: None


PrevUpHomeNext