Registers the action for the dux. If no payload function is provided, whatever is given as an argument to the action generator will be set as-is in the action's payload.
Sets the local mutation for the given action.
The action can be specified via its type or its generator.
Returns the same mutation function.
Generated using TypeDoc
Registers the action for the dux. If no payload function is provided, whatever is given as an argument to the action generator will be set as-is in the action's payload.