the task to run on one of its worker threads. This results in the <code>and_then</code>
closure to get executed.</p>
<h2 id="lazy-registration" class="section-header"><a href="#lazy-registration">Lazy registration</a></h2>
<p>Notice how the snippet above does not explicitly reference a reactor. When
<a href="../net/struct.TcpStream.html#method.connect"><code>TcpStream::connect</code></a> is called, it registers the socket with a reactor,
but no reactor is specified. This works because the registration proce