title: How do a I terminate a co.js loop after execution?
body: <p>Whenever I run a co generator loop, nothing happens after execution the process just hangs. How do I terminate after completion?</p>
  
  <pre><code>co(function *() {
      // code;
  })
  </code></pre>