JS: Promise.race
work in progressPromise.race(iterable)-
returns a new promise which is settled in the same way as the first passed promise to settle.
Promise.race(iterable)returns a new promise which is settled in the same way as the first passed promise to settle.