Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7898490 commit 70e4fd2Copy full SHA for 70e4fd2
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