voxtex·vor 11 Jahren·discussI've found using promises with generators yields code very similar to async/await, without relying on experimental features.https://github.com/tj/coorhttps://github.com/petkaantonov/bluebird/blob/master/API.md#...
voxtex·vor 12 Jahren·discussCompletely agree with you. Many of the tests don't do any kind of assertion, simply ensure that an exception isn't thrown on the invocation of a method. An interface defined in a static language would render the majority of these tests unnecessary.
https://github.com/tj/co
or
https://github.com/petkaantonov/bluebird/blob/master/API.md#...