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

Function useDelValueCallback

src/ui-react/hooks.ts:1146–1152  ·  view source on GitHub ↗
(
  valueId: Id | GetId<Parameter>,
  storeOrStoreId?: StoreOrStoreId,
  then?: (store: Store) => void,
  thenDeps?: DependencyList,
)

Source from the content-addressed store, hash-verified

1144): Callback => useDel(storeOrStoreId, VALUES, then, thenDeps);
1145
1146export const useDelValueCallback: typeof useDelValueCallbackDecl = <Parameter>(
1147 valueId: Id | GetId<Parameter>,
1148 storeOrStoreId?: StoreOrStoreId,
1149 then?: (store: Store) => void,
1150 thenDeps?: DependencyList,
1151): ParameterizedCallback<Parameter> =>
1152 useDel(storeOrStoreId, VALUE, then, thenDeps, valueId);
1153
1154export const useHasTablesListener: typeof useHasTablesListenerDecl = (
1155 listener: HasTablesListener,

Callers 5

WriterFunction · 0.90
TestFunction · 0.90
DeleteValueFunction · 0.90
DeletersFunction · 0.50
DeletersFunction · 0.50

Calls 1

useDelFunction · 0.70

Tested by 2

WriterFunction · 0.72
TestFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…