( getValues: (parameter: Parameter, store: Store) => Values, storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>, then?: (store: Store, values: Values) => void, )
| 831 | ); |
| 832 | |
| 833 | export const useSetValuesCallback = <Parameter>( |
| 834 | getValues: (parameter: Parameter, store: Store) => Values, |
| 835 | storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>, |
| 836 | then?: (store: Store, values: Values) => void, |
| 837 | ): ParameterizedCallback<Parameter> => |
| 838 | useStoreSetCallback(storeOrStoreId, VALUES, getValues, then); |
| 839 | |
| 840 | export const useSetPartialValuesCallback = <Parameter>( |
| 841 | getPartialValues: (parameter: Parameter, store: Store) => Values, |
searching dependent graphs…