asio C++ library

PrevUpHomeNext

async_result::async_result

Construct an async result from a given handler.

async_result(
    completion_handler_type & h);

When using a specalised async_result, the constructor has an opportunity to initialise some state associated with the completion handler, which is then returned from the initiating function.


PrevUpHomeNext