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

Function getPersisted

src/persisters/persister-browser/index.ts:38–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 onIgnoredError?: (error: any) => void,
37): Persister<PersistsType.StoreOrMergeableStore> => {
38 const getPersisted = async (): Promise<
39 PersistedContent<PersistsType.StoreOrMergeableStore>
40 > => jsonParseWithUndefined(storage.getItem(storageName) as string);
41
42 const setPersisted = async (
43 getContent: () => PersistedContent<PersistsType.StoreOrMergeableStore>,

Callers

nothing calls this directly

Calls 1

jsonParseWithUndefinedFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…