/p>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
    <span class="keyword">class</span> <a class="link" href="../../concepts/streams.html#beast.concepts.streams.AsyncStream"><span class="bold"><strong>AsyncStream</strong></span></a><span class="special">,</span>
    <span class="keyword">class</span> <span class="identifier">TeardownHandler</span><span class="special">&gt;</span>
<span class="keyword">void</span>
<span class="identifier">async_teardown</