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

Function timeoutRequest

test/angular/1.7/angular.js:13586–13594  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

13584 }
13585
13586 function timeoutRequest(reason) {
13587 abortedByTimeout = reason === 'timeout';
13588 if (jsonpDone) {
13589 jsonpDone();
13590 }
13591 if (xhr) {
13592 xhr.abort();
13593 }
13594 }
13595
13596 function completeRequest(callback, status, response, headersString, statusText, xhrStatus) {
13597 // cancel timeout and subsequent timeout promise resolution

Callers 1

createHttpBackendFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected