MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / handleTimeout

Function handleTimeout

lib/test/angular/1.6.7/angular-mocks.js:1404–1412  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1402 }
1403
1404 function handleTimeout() {
1405 for (var i = 0, ii = responses.length; i < ii; i++) {
1406 if (responses[i] === handleResponse) {
1407 responses.splice(i, 1);
1408 callback(-1, undefined, '', undefined, 'timeout');
1409 break;
1410 }
1411 }
1412 }
1413 }
1414
1415 if (expectation && expectation.match(method, url)) {

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.70

Tested by

no test coverage detected