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

Function Deferred

lib/test/angular/1.8.0/angular.js:17960–17966  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17958 }
17959
17960 function Deferred() {
17961 var promise = this.promise = new Promise();
17962 //Non prototype methods necessary to support unbound execution :/
17963 this.resolve = function(val) { resolvePromise(promise, val); };
17964 this.reject = function(reason) { rejectPromise(promise, reason); };
17965 this.notify = function(progress) { notifyPromise(promise, progress); };
17966 }
17967
17968
17969 function Promise() {

Callers

nothing calls this directly

Calls 3

resolvePromiseFunction · 0.70
rejectPromiseFunction · 0.70
notifyPromiseFunction · 0.70

Tested by

no test coverage detected