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

Function async_wait

include/boost/asio/basic_socket.hpp:1819–1827  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1817 BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code))
1818 WaitToken = default_completion_token_t<executor_type>>
1819 auto async_wait(wait_type w,
1820 WaitToken&& token = default_completion_token_t<executor_type>())
1821 -> decltype(
1822 async_initiate<WaitToken, void (boost::system::error_code)>(
1823 declval<initiate_async_wait>(), token, w))
1824 {
1825 return async_initiate<WaitToken, void (boost::system::error_code)>(
1826 initiate_async_wait(this), token, w);
1827 }
1828
1829protected:
1830 /// Protected destructor to prevent deletion through this type.

Callers

nothing calls this directly

Calls 1

initiate_async_waitClass · 0.70

Tested by

no test coverage detected