| 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 | |
| 284 | private: |
| 285 | Executor executor_; |
no test coverage detected