MCPcopy
hub / github.com/QLHazyCoder/FlowPilot / getState

Function getState

background.js:885–893  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

883}
884
885async function getState() {
886 const [state, persistedSettings, persistedAliasState, accountRunHistory] = await Promise.all([
887 chrome.storage.session.get(null),
888 getPersistedSettings(),
889 getPersistedAliasState(),
890 accountRunHistoryHelpers?.getPersistedAccountRunHistory?.() || [],
891 ]);
892 return { ...DEFAULT_STATE, ...persistedSettings, ...persistedAliasState, accountRunHistory, ...state };
893}
894
895async function initializeSessionStorageAccess() {
896 try {

Callers 15

importSettingsBundleFunction · 0.85
setIcloudAliasUsedStateFunction · 0.85
upsertHotmailAccountFunction · 0.85
deleteHotmailAccountFunction · 0.85
deleteHotmailAccountsFunction · 0.85
patchHotmailAccountFunction · 0.85
setCurrentHotmailAccountFunction · 0.85
requestHotmailLocalCodeFunction · 0.85

Calls 2

getPersistedSettingsFunction · 0.85
getPersistedAliasStateFunction · 0.85

Tested by

no test coverage detected