MCPcopy Create free account
hub / github.com/cinder/Cinder / dispatch

Function dispatch

include/asio/impl/dispatch.hpp:220–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218template <typename Executor,
219 ASIO_COMPLETION_TOKEN_FOR(void()) CompletionToken>
220ASIO_INITFN_AUTO_RESULT_TYPE(CompletionToken, void()) dispatch(
221 const Executor& ex, ASIO_MOVE_ARG(CompletionToken) token,
222 typename enable_if<
223 execution::is_executor<Executor>::value || is_executor<Executor>::value
224 >::type*)
225{
226 return async_initiate<CompletionToken, void()>(
227 detail::initiate_dispatch_with_executor<Executor>(ex), token);
228}
229
230template <typename ExecutionContext,
231 ASIO_COMPLETION_TOKEN_FOR(void()) CompletionToken>

Callers 4

io_context.hppFile · 0.70
spawn.hppFile · 0.70
dispatch.hppFile · 0.70
asio_handler_invokeFunction · 0.70

Calls 1

get_executorMethod · 0.45

Tested by

no test coverage detected