Comment Comment by taralx Why is that a race? IIRC Promise.then is supposed to invoke the callback immediately (or on next loop) if the promise is already resolved. parent taralx 9 years ago