MCPcopy Create free account
hub / github.com/boostorg/asio / async_result

Function async_result

include/boost/asio/packaged_task.hpp:46–49  ·  view source on GitHub ↗

The constructor extracts the future from the packaged task.

Source from the content-addressed store, hash-verified

44
45 /// The constructor extracts the future from the packaged task.
46 explicit async_result(completion_handler_type& h)
47 : future_(h.get_future())
48 {
49 }
50
51 /// Returns the packaged task's future.
52 return_type get()

Callers

nothing calls this directly

Calls 1

get_futureMethod · 0.80

Tested by

no test coverage detected