Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 9efe60f

Browse files
ArchmageInclgalfaso
ArchmageInc
authored andcommittedAug 3, 2015
docs($q): add $q.when and $q.resolve callback arguments
Closes #12372
1 parent 8553b56 commit 9efe60f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎src/ng/q.js

+6
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,9 @@ function qFactory(nextTick, exceptionHandler) {
487487
* the promise comes from a source that can't be trusted.
488488
*
489489
* @param {*} value Value or a promise
490+
* @param {Function=} successCallback
491+
* @param {Function=} errorCallback
492+
* @param {Function=} progressCallback
490493
* @returns {Promise} Returns a promise of the passed value or promise
491494
*/
492495

@@ -506,6 +509,9 @@ function qFactory(nextTick, exceptionHandler) {
506509
* Alias of {@link ng.$q#when when} to maintain naming consistency with ES6.
507510
*
508511
* @param {*} value Value or a promise
512+
* @param {Function=} successCallback
513+
* @param {Function=} errorCallback
514+
* @param {Function=} progressCallback
509515
* @returns {Promise} Returns a promise of the passed value or promise
510516
*/
511517
var resolve = when;

0 commit comments

Comments
 (0)
This repository has been archived.