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
@ry I think that literally exits when a promise is rejected though:
Namely:
constp=makePromise();// if `p` is rejected synchronously then the process will exitawait3;// or something else that just waits but not for I/Op.catch(()=>{});// or await
It is also fine to ask users to handle all promise rejections "synchronously" - it deviates from web behaviour and I think that if this is intentional then it should be documented.
What do you do with unhandled promise rejections?
The text was updated successfully, but these errors were encountered: