|
template<typename Handler , typename Function > |
void | boost::asio::spawn (BOOST_ASIO_MOVE_ARG(Handler) handler, BOOST_ASIO_MOVE_ARG(Function) function, const boost::coroutines::attributes &attributes=boost::coroutines::attributes()) |
| Start a new stackful coroutine, calling the specified handler when it completes. More...
|
|
template<typename Handler , typename Function > |
void | boost::asio::spawn (basic_yield_context< Handler > ctx, BOOST_ASIO_MOVE_ARG(Function) function, const boost::coroutines::attributes &attributes=boost::coroutines::attributes()) |
| Start a new stackful coroutine, inheriting the execution context of another. More...
|
|
template<typename Function > |
void | boost::asio::spawn (boost::asio::io_service::strand strand, BOOST_ASIO_MOVE_ARG(Function) function, const boost::coroutines::attributes &attributes=boost::coroutines::attributes()) |
| Start a new stackful coroutine that executes in the context of a strand. More...
|
|
template<typename Function > |
void | boost::asio::spawn (boost::asio::io_service &io_service, BOOST_ASIO_MOVE_ARG(Function) function, const boost::coroutines::attributes &attributes=boost::coroutines::attributes()) |
| Start a new stackful coroutine that executes on a given io_service. More...
|
|