MCPcopy
hub / github.com/angular-ui/ui-router / rejectPromise

Function rejectPromise

test/angular/1.7/angular.js:18044–18047  ·  view source on GitHub ↗
(promise, reason)

Source from the content-addressed store, hash-verified

18042 }
18043
18044 function rejectPromise(promise, reason) {
18045 if (promise.$$state.status) return;
18046 $$reject(promise, reason);
18047 }
18048
18049 function $$reject(promise, reason) {
18050 promise.$$state.value = reason;

Callers 5

DeferredFunction · 0.70
processQueueFunction · 0.70
rejectFunction · 0.70
allFunction · 0.70
rejectFnFunction · 0.70

Calls 1

$$rejectFunction · 0.70

Tested by

no test coverage detected