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

Function clearLuckmailRuntimeState

background.js:1091–1102  ·  view source on GitHub ↗
(options = {})

Source from the content-addressed store, hash-verified

1089}
1090
1091async function clearLuckmailRuntimeState(options = {}) {
1092 const { clearEmail = false } = options;
1093 const updates = {
1094 currentLuckmailPurchase: null,
1095 currentLuckmailMailCursor: null,
1096 };
1097 if (clearEmail) {
1098 updates.email = null;
1099 }
1100 await setState(updates);
1101 broadcastDataUpdate(updates);
1102}
1103
1104function getManualAliasUsageMap(state) {
1105 return normalizeBooleanMap(state?.manualAliasUsage);

Callers 5

handleStepDataFunction · 0.85
handleStepDataFunction · 0.85

Calls 2

setStateFunction · 0.85
broadcastDataUpdateFunction · 0.85

Tested by

no test coverage detected