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

Function usePersisterOrPersisterById

src/ui-solid/primitives.ts:1978–1981  ·  view source on GitHub ↗
(
  persisterOrPersisterId?: MaybeAccessor<PersisterOrPersisterId | undefined>,
)

Source from the content-addressed store, hash-verified

1976): Accessor<AnyPersister | undefined> => useThing(id, OFFSET_PERSISTER);
1977
1978export const usePersisterOrPersisterById = (
1979 persisterOrPersisterId?: MaybeAccessor<PersisterOrPersisterId | undefined>,
1980): Accessor<AnyPersister | undefined> =>
1981 useThingOrThingById(persisterOrPersisterId, OFFSET_PERSISTER);
1982
1983export const useProvidePersister = (
1984 persisterId: Id,

Callers 2

usePersisterStatusFunction · 0.70

Calls 1

useThingOrThingByIdFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…