pendingCount property

  1. @override
int get pendingCount

Number of HTTP requests currently in flight on Magic's network driver, surfaced via the interceptor's FIFO _pending list.

Pre-install (or post-uninstall) _interceptor is null and the getter short-circuits to 0 ; the null-guard keeps TelescopeStore.pendingHttpCount safe to call from a poll loop before install runs.

Implementation

@override
int get pendingCount => _interceptor?._pending.length ?? 0;