Turn async functions into a Bluebird coroutine (caveats). var Bluebird = require("bluebird"); var foo = Bluebird.coroutine(function*() { yield bar(); });.
確定! 回上一頁