...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Returns the immediate executor associated with this handler.
immediate_executor_type get_immediate_executor() const;
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.