MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / dispatch

Function dispatch

3rd/asio-1.24.0/include/asio/detail/handler_work.hpp:278–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276
277 template <typename Function, typename Handler>
278 void dispatch(Function& function, Handler& handler)
279 {
280 executor_.dispatch(ASIO_MOVE_CAST(Function)(function),
281 asio::get_associated_allocator(handler));
282 }
283
284private:
285 Executor executor_;

Callers 15

completeMethod · 0.70
completeMethod · 0.70
dispatchMethod · 0.50
io_context.hppFile · 0.50
operator()Method · 0.50
dispatch.hppFile · 0.50
asio_handler_invokeFunction · 0.50
~coroMethod · 0.50
cancelMethod · 0.50
dispatch_coroutineFunction · 0.50
operator()Method · 0.50

Calls 3

preferFunction · 0.85
executeFunction · 0.50
dispatchMethod · 0.45

Tested by

no test coverage detected