Protect bounded remote activity across app lifecycle

This commit is contained in:
vorotamoroz committed 2026-07-15 20:53:27 +09:00
1 parent 4cbccf85b4
commit 31e9186930
373 files changed
+1275 -466

No files matched your search

@@ -0,0 +1,4 @@
/** Returns whether the status UI should report HTTP traffic or a finite remote operation in progress. */
export function hasRemoteActivity(requestCount: number, responseCount: number, boundedRemoteActivityCount: number) {
return requestCount - responseCount !== 0 || boundedRemoteActivityCount !== 0;
}