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

Function timeoutRequest

lib/test/angular/1.7.0/angular.js:13017–13025  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

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

Callers 1

createHttpBackendFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected