( valueId: Id | GetId<Parameter>, getValue: (parameter: Parameter, store: Store) => Value | MapValue, getValueDeps?: DependencyList, storeOrStoreId?: StoreOrStoreId, then?: (store: Store, value: Value | MapValue) => void, thenDeps?: DependencyList, )
| 1077 | ); |
| 1078 | |
| 1079 | export const useSetValueCallback: typeof useSetValueCallbackDecl = <Parameter>( |
| 1080 | valueId: Id | GetId<Parameter>, |
| 1081 | getValue: (parameter: Parameter, store: Store) => Value | MapValue, |
| 1082 | getValueDeps?: DependencyList, |
| 1083 | storeOrStoreId?: StoreOrStoreId, |
| 1084 | then?: (store: Store, value: Value | MapValue) => void, |
| 1085 | thenDeps?: DependencyList, |
| 1086 | ): ParameterizedCallback<Parameter> => |
| 1087 | useStoreSetCallback( |
| 1088 | storeOrStoreId, |
| 1089 | VALUE, |
| 1090 | getValue, |
| 1091 | getValueDeps, |
| 1092 | then, |
| 1093 | thenDeps, |
| 1094 | valueId, |
| 1095 | ); |
| 1096 | |
| 1097 | export const useDelTablesCallback: typeof useDelTablesCallbackDecl = ( |
| 1098 | storeOrStoreId?: StoreOrStoreId, |
searching dependent graphs…