Function actionEmpty

  • Creates an action description with no payload, given a module prefix, an action name and an optional full reducer.

    Returns

    An action description.

    Type Parameters

    • S = any

      The state type

    Parameters

    • prefix: string

      The prefix or module name to prepend to the action name to obtain a unique action type.

    • actionName: string

      The action name. Should be unique in the prefix.

    • Optional aSimpleReducer: SimpleReducerOf<S>

      An optional simple reducer function.

    Returns ActionDescEmpty<S>

Generated using TypeDoc