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
promise.then(function() {
// code to run when promise is fulfilled
otherPromise.then(function() {
// code to run when otherPromise is fulfilled
})
})
It should be flattened to:
promise
.then(function() {
return otherPromise; // code to run when promise is fulfilled
})
.then(function() {
// code to run when otherPromise is fulfilled
})
The existing flattening logic is disabled by default.
The text was updated successfully, but these errors were encountered:
Currently nested callbacks are converted to this:
It should be flattened to:
The existing flattening logic is disabled by default.
The text was updated successfully, but these errors were encountered: