MCPcopy Index your code
hub / github.com/angular-ui/ui-router / Deferred

Function Deferred

test/angular/1.6/angular.js:17277–17283  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17275 }
17276
17277 function Deferred() {
17278 var promise = this.promise = new Promise();
17279 //Non prototype methods necessary to support unbound execution :/
17280 this.resolve = function(val) { resolvePromise(promise, val); };
17281 this.reject = function(reason) { rejectPromise(promise, reason); };
17282 this.notify = function(progress) { notifyPromise(promise, progress); };
17283 }
17284
17285
17286 function Promise() {

Callers

nothing calls this directly

Calls 3

resolvePromiseFunction · 0.70
rejectPromiseFunction · 0.70
notifyPromiseFunction · 0.70

Tested by

no test coverage detected