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

Function handleTimeout

test/angular/1.3/angular-mocks.js:1219–1227  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1217 }
1218
1219 function handleTimeout() {
1220 for (var i = 0, ii = responses.length; i < ii; i++) {
1221 if (responses[i] === handleResponse) {
1222 responses.splice(i, 1);
1223 callback(-1, undefined, '');
1224 break;
1225 }
1226 }
1227 }
1228 }
1229
1230 if (expectation && expectation.match(method, url)) {

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.70

Tested by

no test coverage detected