asio C++ library

PrevUpHomeNext

io_service::strand::dispatch

Request the strand to invoke the given function object.

template<
    typename Function,
    typename Allocator>
void dispatch(
    Function && f,
    const Allocator & a);
  » more...

(Deprecated: Use dispatch.) Request the strand to invoke the given handler.

template<
    typename CompletionHandler>
void-or-deduced dispatch(
    CompletionHandler && handler);
  » more...

PrevUpHomeNext