( getValues: (parameter: Parameter, store: Store) => Values, getValuesDeps?: DependencyList, storeOrStoreId?: StoreOrStoreId, then?: (store: Store, values: Values) => void, thenDeps?: DependencyList, )
| 1042 | ); |
| 1043 | |
| 1044 | export const useSetValuesCallback: typeof useSetValuesCallbackDecl = < |
| 1045 | Parameter, |
| 1046 | >( |
| 1047 | getValues: (parameter: Parameter, store: Store) => Values, |
| 1048 | getValuesDeps?: DependencyList, |
| 1049 | storeOrStoreId?: StoreOrStoreId, |
| 1050 | then?: (store: Store, values: Values) => void, |
| 1051 | thenDeps?: DependencyList, |
| 1052 | ): ParameterizedCallback<Parameter> => |
| 1053 | useStoreSetCallback( |
| 1054 | storeOrStoreId, |
| 1055 | VALUES, |
| 1056 | getValues, |
| 1057 | getValuesDeps, |
| 1058 | then, |
| 1059 | thenDeps, |
| 1060 | ); |
| 1061 | |
| 1062 | export const useSetPartialValuesCallback: typeof useSetPartialValuesCallbackDecl = |
| 1063 | <Parameter>( |
searching dependent graphs…