saveStrategiesSettings function
Last updated: 2026-03-03T18:32:34.140Z
Metrics
LOC: 8
Complexity: 1
Params: 0
Signature
saveStrategiesSettings(): : Promise<void>
Source Code
async function saveStrategiesSettings(): Promise<void> {
const pipeline = getPipelineFromDOM();
await chrome.runtime.sendMessage({
type: "SAVE_SETTINGS",
payload: { detectionPipeline: pipeline } as Partial<Settings>,
});
showToast(t("savedAuto"));
}
Dependencies (Outgoing)
| Target | Type |
|---|---|
| getPipelineFromDOM | calls |
Impact (Incoming)
| Source | Type |
|---|---|
| renderStrategyList | calls |