mple:
      </p>
<pre class="programlisting">template &lt;typename Handler&gt;
void my_coroutine(basic_yield_context&lt;Handler&gt; yield)
{
  ...
  std::size_t n = my_socket.async_read_some(buffer, yield);
  ...
}
</pre>
<p>
        The initiating function (async_read_some in the above example) suspends the
        current coroutine. The coroutine is resumed when the asynchronous operation
        completes, and the result of the operation is returned.
      </p>
<h5>
<a name="boost_asio.reference.yield_co