Skip to content

Commit

Permalink
Fix race inline description
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskowal committed Nov 10, 2014
1 parent e3aec4d commit 3545131
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions q.js
Original file line number Diff line number Diff line change
Expand Up @@ -689,9 +689,9 @@ Promise.prototype.join = function (that) {
};

/**
* Returns a promise for the first of an array of promises to become fulfilled.
* Returns a promise for the first of an array of promises to become settled.
* @param answers {Array[Any*]} promises to race
* @returns {Any*} the first promise to be fulfilled
* @returns {Any*} the first promise to be settled
*/
Q.race = race;
function race(answerPs) {
Expand Down

0 comments on commit 3545131

Please sign in to comment.