MCPcopy Create free account
hub / github.com/tinyplex/tinybase / useSetRowCallback

Function useSetRowCallback

docs/pseudo.esm.sh/tinybase@9.0.0/ui-solid/index.js:542–542  ·  view source on GitHub ↗
(tableId, rowId, getRow, storeOrStoreId, then)

Source from the content-addressed store, hash-verified

540var useSetTablesCallback = (getTables, storeOrStoreId, then) => useStoreSetCallback(storeOrStoreId, TABLES, getTables, then);
541var useSetTableCallback = (tableId, getTable, storeOrStoreId, then) => useStoreSetCallback(storeOrStoreId, TABLE, getTable, then, tableId);
542var useSetRowCallback = (tableId, rowId, getRow, storeOrStoreId, then) => useStoreSetCallback(storeOrStoreId, ROW, getRow, then, tableId, rowId);
543var useAddRowCallback = (tableId, getRow, storeOrStoreId, then = getUndefined, reuseRowIds = true) => {
544 const store = useStoreOrStoreById(storeOrStoreId);
545 return (parameter) => ifNotUndefined(

Callers 1

useRowStateFunction · 0.70

Calls 1

useStoreSetCallbackFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…