We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ac969a commit b8f0b43Copy full SHA for b8f0b43
src/ng/q.js
@@ -316,10 +316,7 @@ function qFactory(nextTick, exceptionHandler) {
316
* the promise comes from a source that can't be trusted.
317
*
318
* @param {*} value Value or a promise
319
- * @returns {Promise} Returns a single promise that will be resolved with an array of values,
320
- * each value corresponding to the promise at the same index in the `promises` array. If any of
321
- * the promises is resolved with a rejection, this resulting promise will be resolved with the
322
- * same rejection.
+ * @returns {Promise} Returns a promise of the passed value or promise
323
*/
324
var when = function(value, callback, errback) {
325
var result = defer(),
0 commit comments