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

Function useProvidePersister

src/ui-react/hooks.ts:2368–2371  ·  view source on GitHub ↗
(
  persisterId: Id,
  persister: AnyPersister,
)

Source from the content-addressed store, hash-verified

2366 useThingOrThingById(persisterOrPersisterId, OFFSET_PERSISTER);
2367
2368export const useProvidePersister: typeof useProvidePersisterDecl = (
2369 persisterId: Id,
2370 persister: AnyPersister,
2371): void => useProvideThing(persisterId, persister, OFFSET_PERSISTER);
2372
2373export const usePersisterStatus: typeof usePersisterStatusDecl = (
2374 persisterOrPersisterId?: PersisterOrPersisterId,

Callers 2

ProvidePersisterFunction · 0.90
ProvideThingsFunction · 0.90

Calls 1

useProvideThingFunction · 0.90

Tested by 2

ProvidePersisterFunction · 0.72
ProvideThingsFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…