App Development Tutorials
Markdown supported · ⌘↵ to post
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
nice one