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

Function stopAutoLoad

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

Source from the content-addressed store, hash-verified

260 };
261
262 const stopAutoLoad = async (): Promise<Persister<Persist>> => {
263 if (autoLoadHandle) {
264 await tryCatch(
265 () => delPersisterListener(autoLoadHandle!),
266 onIgnoredError,
267 );
268 autoLoadHandle = undefined;
269 }
270 return persister;
271 };
272
273 const isAutoLoading = () => !isUndefined(autoLoadHandle);
274

Callers 1

startAutoLoadFunction · 0.70

Calls 2

tryCatchFunction · 0.90
delPersisterListenerFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…