Josh
Results
2
comments of
Josh
What advantage does `defer` give you over simply doing this? ``` co(function*() { // code }).catch(err => { db.close(); }); ``` If we can get the same functionality with the...
Yes you can override `global.Promise`. Also, check out this current PR for "bring your own promise" in this repo. Kind of interesting (and related) https://github.com/tj/co/pull/244