Overload | Description |
---|---|
Race(INPromise[]) | The Race method returns a promise that fulfills or rejects as soon as one of the promises fulfills or rejects, with the value or reason from that promise. |
Race(INIterable<INPromise>) | The Race method returns a promise that fulfills or rejects as soon as one of the promises fulfills or rejects, with the value or reason from that promise. |
Race<TResult>(INPromise[]) | The Race method returns a promise that fulfills or rejects as soon as one of the promises fulfills or rejects, with the value or reason from that promise. |
Race<TResult>(INIterable<INPromise>) | The Race method returns a promise that fulfills or rejects as soon as one of the promises fulfills or rejects, with the value or reason from that promise. |