type-annotation">void</span> <span class="parameter-name">onDone</span>(<ol class="parameter-list"></ol>
), </span></li>
<li><span class="parameter" id="listen-param-cancelOnError"><span class="type-annotation"><a href="../../dart-core/bool-class.html">bool</a></span> <span class="parameter-name">cancelOnError</span>}</span></li>
</ol>)
      <div class="features">inherited</div>
    </section>
    <section class="desc markdown">
      <p>Adds a subscription to this stream.</p>
<p>Returns a <a href="../../d