Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
async_base::get_immediate_executor

Returns the immediate executor associated with this handler.

Synopsis
net::associated_immediate_executor_t< Handler, typename net::executor_work_guard< Executor1 >::executor_type >
get_immediate_executor() const;
Description

If the handler has none it returns asios default immediate executor based on the executor of the object.

If a class derived from boost::beast::async_base is a completion handler, then the object returned from this function will be used as the associated immediate executor of the derived class.


PrevUpHomeNext