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'm not sure if it's right though: this draft specifically says “onProgress is never called once a promise has already been fulfilled or rejected.”
If this is the case, maybe this code should only print 2 since promise was already resolved by the time we subscribed to its progress. (It does print 2 if we call then and progressed in next tick.)
The following prints
2
then1
. Shouldn't it be the other way around?The text was updated successfully, but these errors were encountered: