@laserware/stasis
    Preparing search index...

    Type Alias ThunkAction<ReturnType, State, ExtraThunkArg, BasicAction>

    ThunkAction: (
        dispatch: ThunkDispatch<State, ExtraThunkArg, BasicAction>,
        getState: () => State,
        extraArgument: ExtraThunkArg,
    ) => ReturnType

    A "thunk" action (a callback function that can be dispatched to the Redux store.)

    Also known as the "thunk inner function", when used with the typical pattern of an action creator function that returns a thunk action.

    Type Parameters

    • ReturnType

      The return type of the thunk's inner function

    • State

      The redux state

    • ExtraThunkArg

      Optional extra argument passed to the inner function (if specified when setting up the Thunk middleware)

    • BasicAction extends Action

      The (non-thunk) actions that can be dispatched.

    Type declaration