Function
useSetPartialRowCallback
(
tableId: Id | GetId<Parameter>,
rowId: Id | GetId<Parameter>,
getPartialRow: (parameter: Parameter, store: Store) => Row,
getPartialRowDeps?: DependencyList,
storeOrStoreId?: StoreOrStoreId,
then?: (store: Store, partialRow: Row) => void,
thenDeps?: DependencyList,
)
Source from the content-addressed store, hash-verified
| 998 | }; |
| 999 | |
| 1000 | export const useSetPartialRowCallback: typeof useSetPartialRowCallbackDecl = < |
| 1001 | Parameter, |
| 1002 | >( |
| 1003 | tableId: Id | GetId<Parameter>, |
| 1004 | rowId: Id | GetId<Parameter>, |
| 1005 | getPartialRow: (parameter: Parameter, store: Store) => Row, |
| 1006 | getPartialRowDeps?: DependencyList, |
| 1007 | storeOrStoreId?: StoreOrStoreId, |
| 1008 | then?: (store: Store, partialRow: Row) => void, |
| 1009 | thenDeps?: DependencyList, |
| 1010 | ): ParameterizedCallback<Parameter> => |
| 1011 | useStoreSetCallback( |
| 1012 | storeOrStoreId, |
| 1013 | PARTIAL + ROW, |
| 1014 | getPartialRow, |
| 1015 | getPartialRowDeps, |
| 1016 | then, |
| 1017 | thenDeps, |
| 1018 | tableId, |
| 1019 | rowId, |
| 1020 | ); |
| 1021 | |
| 1022 | export const useSetCellCallback: typeof useSetCellCallbackDecl = <Parameter>( |
| 1023 | tableId: Id | GetId<Parameter>, |
Used in the wild real call sites across dependent graphs
searching dependent graphs…