Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
edeykholt committed Jan 8, 2025
1 parent ef542d0 commit 6fdebf6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ interface CsConnection {
pageAuthority: string;
}

// global variables
// Note, these will not persist after the service worker is stopped, including becoming inactive.
let pendingRequestId: string | null = null;
let pendingRequestPort: chrome.runtime.Port | null = null;
// TODO P2 persist pageCsConnections in storage.session so this is resiliant to service-worker becoming inactive
let pageCsConnections: { [key: string]: CsConnection } = {};
let isWaitingOnKeria: boolean = false;

Expand Down

0 comments on commit 6fdebf6

Please sign in to comment.