race

resolves or rejects the quickest promise

void race(array promises);

Parameters

promisesarrayan array of promise objects
Back to top