Skip to content

asio::async_result

An interface for customising the behaviour of an initiating function.

詳細情報

メンバー

async_result()

Construct an async result from a given handler.

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

asio::async_result< CompletionToken, Signature >::async_result(completion_handler_type &h)

引数

  • completion_handler_type& h

get()

Obtain the value to be returned from the initiating function.

return_type asio::async_result< CompletionToken, Signature >::get()

戻り値

return_type