onNetworkRequestStart function ✓ 100.0%
Last updated: 2026-03-05T11:49:57.418Z
Metrics
LOC: 8
Complexity: 2
Params: 0
Coverage: 100.0% (5/5 lines, 0x executed)
Signature
onNetworkRequestStart(): : void
Source Code
function onNetworkRequestStart(): void {
pendingNetworkRequests++;
lastNetworkActivityTimestamp = now();
if (networkIdleTimer) {
clearTimeout(networkIdleTimer);
networkIdleTimer = null;
}
}
Dependencies (Outgoing)
| Target | Type |
|---|---|
| now | calls |
Impact (Incoming)
| Source | Type |
|---|---|
| startNetworkMonitoring | calls |