MCPcopy Index your code
hub / github.com/tinyplex/tinybase / saveAfterMutated

Function saveAfterMutated

src/persisters/common/create.ts:193–197  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

191 };
192
193 const saveAfterMutated = async (): Promise<void> => {
194 if (isAutoSaving() && (store as ProtectedMergeableStore).__?.[0]?.()) {
195 await save();
196 }
197 };
198
199 // --
200

Callers 2

loadFunction · 0.70
startAutoLoadFunction · 0.70

Calls 2

isAutoSavingFunction · 0.70
saveFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…