Closed evaera closed 5 years ago
Promise.promisify should reject the promise if the function errors instead even after a yield, so it needs to be pcalled on top of using coroutine.wrap.
Promise.promisify should reject the promise if the function errors instead even after a yield, so it needs to be pcalled on top of using coroutine.wrap.