pendingHttpCount property
int
get
pendingHttpCount
Total number of HTTP requests currently in flight across every registered TelescopeHttpAdapter.
Sums TelescopeHttpAdapter.pendingCount across the live adapter registry populated by TelescopePlugin.registerHttpAdapter. Returns 0 when no adapter is registered OR when no registered adapter overrides the default TelescopeHttpAdapter.pendingCount (default body returns 0).
Read-only sync getter; safe to call from poll loops (no locks, no IO).
Consumed by ext.dusk.wait_for_network_idle to detect a network-idle
window before yielding the next agent action.
Implementation
static int get pendingHttpCount {
var total = 0;
for (final adapter in httpAdapterRegistry) {
total += adapter.pendingCount;
}
return total;
}