ent'>// where tx is the sending half (tx for transmission), and rx is the receiving</span>
<span class='comment'>// half (rx for receiving).</span>
<span class='kw'>let</span> (<span class='ident'>tx</span>, <span class='ident'>rx</span>) <span class='op'>=</span> <span class='ident'>channel</span>();
<span class='kw'>for</span> <span class='ident'>i</span> <span class='kw'>in</span> <span class='number'>0</span>..<span class='number'>10</span> {
    <span class='kw'>let</span> <span class='ident'>tx</span>