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

Function timeoutRequest

test/angular/1.6/angular.js:13015–13023  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

13013 }
13014
13015 function timeoutRequest(reason) {
13016 abortedByTimeout = reason === 'timeout';
13017 if (jsonpDone) {
13018 jsonpDone();
13019 }
13020 if (xhr) {
13021 xhr.abort();
13022 }
13023 }
13024
13025 function completeRequest(callback, status, response, headersString, statusText, xhrStatus) {
13026 // cancel timeout and subsequent timeout promise resolution

Callers 1

createHttpBackendFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected