MCPcopy
hub / github.com/angular-ui/ui-router / handleTimeout

Function handleTimeout

test/angular/1.4/angular-mocks.js:1277–1285  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1275 }
1276
1277 function handleTimeout() {
1278 for (var i = 0, ii = responses.length; i < ii; i++) {
1279 if (responses[i] === handleResponse) {
1280 responses.splice(i, 1);
1281 callback(-1, undefined, '');
1282 break;
1283 }
1284 }
1285 }
1286 }
1287
1288 if (expectation && expectation.match(method, url)) {

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.70

Tested by

no test coverage detected