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

Function destroy

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

Source from the content-addressed store, hash-verified

357 const getStore = (): Store => store;
358
359 const destroy = (): Promise<Persister<Persist>> => {
360 arrayClear(mapGet(scheduleActions, scheduleId) as Action[]);
361 return stopAutoPersisting();
362 };
363
364 const getStats = (): PersisterStats => ({loads, saves});
365

Callers

nothing calls this directly

Calls 3

arrayClearFunction · 0.90
mapGetFunction · 0.90
stopAutoPersistingFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…