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

Function useDelValueCallback

src/ui-solid/primitives.ts:890–895  ·  view source on GitHub ↗
(
  valueId: MaybeAccessor<Id> | GetId<Parameter>,
  storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,
  then?: (store: Store) => void,
)

Source from the content-addressed store, hash-verified

888): Callback => useDel(storeOrStoreId, VALUES, then);
889
890export const useDelValueCallback = <Parameter>(
891 valueId: MaybeAccessor<Id> | GetId<Parameter>,
892 storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,
893 then?: (store: Store) => void,
894): ParameterizedCallback<Parameter> =>
895 useDel(storeOrStoreId, VALUE, then, valueId);
896
897export const useHasTablesListener = (
898 listener: HasTablesListener,

Callers 3

WriterFunction · 0.90
primitives.test.tsFile · 0.90
DeleteValueFunction · 0.90

Calls 1

useDelFunction · 0.70

Tested by 1

WriterFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…