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

Function stopAutoPersisting

src/persisters/common/create.ts:330–339  ·  view source on GitHub ↗
(
    stopSaveFirst = false,
  )

Source from the content-addressed store, hash-verified

328 };
329
330 const stopAutoPersisting = async (
331 stopSaveFirst = false,
332 ): Promise<Persister<Persist>> => {
333 const [call1, call2] = stopSaveFirst
334 ? [stopAutoSave, stopAutoLoad]
335 : [stopAutoLoad, stopAutoSave];
336 await call1();
337 await call2();
338 return persister;
339 };
340
341 const getStatus = (): StatusValues => status;
342

Callers 1

destroyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…