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

Method dispatch

include/asio/detail/handler_work.hpp:89–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87
88 template <typename Function, typename Handler>
89 void dispatch(Function& function, Handler& handler)
90 {
91 execution::execute(
92 asio::prefer(executor_,
93 execution::blocking.possibly,
94 execution::allocator((get_associated_allocator)(handler))),
95 ASIO_MOVE_CAST(Function)(function));
96 }
97
98private:
99 typedef typename decay<

Callers 2

dispatchMethod · 0.45
dispatchFunction · 0.45

Calls 1

executeFunction · 0.50

Tested by

no test coverage detected