MCPcopy
hub / github.com/callumalpass/tasknotes / saveSettingsDataOnly

Method saveSettingsDataOnly

src/main.ts:731–738  ·  view source on GitHub ↗

* Persist settings to disk without triggering runtime side-effects. * Intended for background/internal updates (e.g., sync token writes).

()

Source from the content-addressed store, hash-verified

729 * Intended for background/internal updates (e.g., sync token writes).
730 */
731 async saveSettingsDataOnly(): Promise<void> {
732 this.settingsDataSaveRequested = true;
733 if (!this.settingsDataSavePromise) {
734 this.settingsDataSavePromise = this.drainSettingsDataSaves();
735 }
736
737 await this.settingsDataSavePromise;
738 }
739
740 private async drainSettingsDataSaves(): Promise<void> {
741 try {

Callers 6

loadSettingsMethod · 0.95
ensureStarterNoteMethod · 0.95
createPluginFunction · 0.95
drainSettingsSavesMethod · 0.45

Calls 1

Tested by 1

createPluginFunction · 0.76