Sign in
Log inSign up
Roadside Coder

43 likes

·

10.3K reads

3 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.

·
Bishwajeet Pandey
Bishwajeet Pandey
Apr 9, 2024

nice one

·