MCPcopy Index your code
hub / github.com/PsChina/angularJS / when

Function when

2-gulp/demo/angular.js:17249–17253  ·  view source on GitHub ↗

* @ngdoc method * @name $q#when * @kind function * * @description * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise. * This is useful when you are dealing with an object that might or might not be a promise, or if * the promise comes fr

(value, callback, errback, progressBack)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

allFunction · 0.85
raceFunction · 0.85

Calls 1

resolvePromiseFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…