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

Function Deferred

test/angular/1.7/angular.js:17895–17901  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17893 }
17894
17895 function Deferred() {
17896 var promise = this.promise = new Promise();
17897 //Non prototype methods necessary to support unbound execution :/
17898 this.resolve = function(val) { resolvePromise(promise, val); };
17899 this.reject = function(reason) { rejectPromise(promise, reason); };
17900 this.notify = function(progress) { notifyPromise(promise, progress); };
17901 }
17902
17903
17904 function Promise() {

Callers

nothing calls this directly

Calls 3

resolvePromiseFunction · 0.70
rejectPromiseFunction · 0.70
notifyPromiseFunction · 0.70

Tested by

no test coverage detected