ync.t</a></span> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> <a href="index.html#type-t">t</a></span></code></dt><dd><p>Takes <code>n</code> elements from an infinite stream and converts it to a finite one. Optionally takes an output stream (<code>?close</code>) to close the connection at <a href="../../Signal/index.html#type-t.EndOfSignal"><code>Signal.t.EndOfSignal</code></a> if the async stream is connection-based.</p></dd></dl></div></body></html>