MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / Deferred

Function Deferred

lib/test/angular/1.6.7/angular.js:17092–17098  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17090 }
17091
17092 function Deferred() {
17093 var promise = this.promise = new Promise();
17094 //Non prototype methods necessary to support unbound execution :/
17095 this.resolve = function(val) { resolvePromise(promise, val); };
17096 this.reject = function(reason) { rejectPromise(promise, reason); };
17097 this.notify = function(progress) { notifyPromise(promise, progress); };
17098 }
17099
17100
17101 function Promise() {

Callers

nothing calls this directly

Calls 3

resolvePromiseFunction · 0.70
rejectPromiseFunction · 0.70
notifyPromiseFunction · 0.70

Tested by

no test coverage detected