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
Should a promise be reported as unhandled when it had a catch handler installed but that was later cancelled?
const{token, cancel}=CancelToken.source();setTimeout(cancel,500);constpromise=newPromise((resolve,reject)=>{setTimeout(reject,1000);});token.catch(e=>{/* do something */},token);
The current proposal does not, as [[PromiseIsHandled]] is set to true when the handler is installed, and that's it.
The text was updated successfully, but these errors were encountered:
Should a promise be reported as unhandled when it had a
catch
handler installed but that was later cancelled?The current proposal does not, as [[PromiseIsHandled]] is set to
true
when the handler is installed, and that's it.The text was updated successfully, but these errors were encountered: