You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it's perfectly valid to fulfil a promise with undefined. Otherwise, async noop () {} would be invalid too. Do you have a reference to the ECMAScript spec or another document that states that the result of a promise cannot be undefined?
pool.start().then(function(data) {
console.log(data); // data is undefined, which is inconsistent with Promise API
})
The text was updated successfully, but these errors were encountered: