ypename <a class="link" href="../Handler.html" title="Handlers">Handler</a>,
    typename Function&gt;
void spawn(
    basic_yield_context&lt; Handler &gt; ctx,
    Function &amp;&amp; function,
    const boost::coroutines::attributes &amp; attributes = boost::coroutines::attributes());
</pre>
<p>
          This function is used to launch a new coroutine.
        </p>
<h6>
<a name="boost_asio.reference.spawn.overload3.h0"></a>
          <span class="phrase"><a name="boost_asio.reference.spawn.overload3.para