MCPcopy Create free account
hub / github.com/alibaba/async_simple / dispatch

Method dispatch

demo_example/asio/asio/impl/executor.hpp:254–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252
253template <typename Function, typename Allocator>
254void executor::dispatch(ASIO_MOVE_ARG(Function) f,
255 const Allocator& a) const
256{
257 impl_base* i = get_impl();
258 if (i->fast_dispatch_)
259 system_executor().dispatch(ASIO_MOVE_CAST(Function)(f), a);
260 else
261 i->dispatch(function(ASIO_MOVE_CAST(Function)(f), a));
262}
263
264template <typename Function, typename Allocator>
265void executor::post(ASIO_MOVE_ARG(Function) f,

Callers 4

dispatchMethod · 0.45
dispatchMethod · 0.45
operator()Method · 0.45
operator()Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected