MCPcopy
hub / github.com/angular-ui/ui-grid / timeoutRequest

Function timeoutRequest

lib/test/angular/1.8.0/angular.js:13651–13659  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

13649 }
13650
13651 function timeoutRequest(reason) {
13652 abortedByTimeout = reason === 'timeout';
13653 if (jsonpDone) {
13654 jsonpDone();
13655 }
13656 if (xhr) {
13657 xhr.abort();
13658 }
13659 }
13660
13661 function completeRequest(callback, status, response, headersString, statusText, xhrStatus) {
13662 // cancel timeout and subsequent timeout promise resolution

Callers 1

createHttpBackendFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected