Sign in
Log inSign up
Roadside Coder

19 likes

·

2.0K reads

2 comments

kodanda reddy
kodanda reddy
Sep 12, 2022

good work

1
·
Vinayak Phal
Vinayak Phal
Feb 22, 2023

PromiseRace implementation is not correct, it simply returns the last one. We can fix it by keeping a flag, which will set to true on first then or catch after that it will not trigger resolve or reject any more.

·