How to return a value into koa generator?
<p>I've got something like this:</p>

<pre><code>var app = koa;

var run = function (generator){
  var it = generator(go);
  function go(err, res) {
    it.next(res);
  }
  go();      
}


app.use(function *() {
  run(function *(callback) {
     var result = yield asyncFunc(params, callback);
  });
  //I want to get value of result here;
});
</code></pre>

<p>So how to get this value using Koa conception?</p>