1. 3

  2. 1

    I wonder if it would have made more sense to generalize the use of the yield command to allow it to be used outside of the “return and pause” concept within only the scope of a function. I imagine a world with a lot less boilerplate code if I could simply write:

    var user = yield SQLDB.execute('select * from user where id = 1;");

    Then again, this may introduce some serious design challenges.