</div><sectionclass="tsd-panel"><h4>Type Parameters</h4><ulclass="tsd-type-parameter-list"><li><span><aid="toAsyncIterator.T"class="tsd-anchor"></a><spanclass="tsd-kind-type-parameter">T</span><spanclass="tsd-signature-keyword"> extends </span><ahref="../interfaces/_waku_interfaces.IDecodedMessage.html"class="tsd-signature-type tsd-kind-interface">IDecodedMessage</a></span></li></ul></section><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">receiver</span>: <ahref="../interfaces/_waku_interfaces.IReceiver.html"class="tsd-signature-type tsd-kind-interface">IReceiver</a></span><divclass="tsd-comment tsd-typography"><p>object that allows to be subscribed to;</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">decoder</span>: <ahref="../interfaces/_waku_interfaces.IDecoder.html"class="tsd-signature-type tsd-kind-interface">IDecoder</a><spanclass="tsd-signature-symbol"><</span><aclass="tsd-signature-type tsd-kind-type-parameter"href="_waku_utils.toAsyncIterator.html#toAsyncIterator.T">T</a><spanclass="tsd-signature-symbol">></span><spanclass="tsd-signature-symbol"> | </span><ahref="../interfaces/_waku_interfaces.IDecoder.html"class="tsd-signature-type tsd-kind-interface">IDecoder</a><spanclass="tsd-signature-symbol"><</span><aclass="tsd-signature-type tsd-kind-type-parameter"href="_waku_utils.toAsyncIterator.html#toAsyncIterator.T">T</a><spanclass="tsd-signature-symbol">></span><spanclass="tsd-signature-symbol">[]</span></span><divclass="tsd-comment tsd-typography"><p>parameter to be passed to receiver for subscription;</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">iteratorOptions</span>: <ahref="../types/_waku_utils.IteratorOptions.html"class="tsd-signature-type tsd-kind-type-alias">IteratorOptions</a></span><divclass="tsd-comment tsd-typography"><p>optional configuration for iterator;</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">Promise</span><spanclass="tsd-signature-symbol"><</span><ahref="../interfaces/_waku_interfaces.IAsyncIterator.html"class="tsd-signature-type tsd-kind-interface">IAsyncIterator</a><spanclass="tsd-signature-symbol"><</span><aclass="tsd-signature-type tsd-kind-type-parameter"href="_waku_utils.toAsyncIterator.html#toAsyncIterator.T">T</a><spanclass="tsd-signature-symbol">></span><spanclass="tsd-signature-symbol">></span></h4><p>iterator and stop function to terminate it.</p>