export function dispatchWithMiddleware()

in src/legacy/legacyApplyMiddleware.ts [23:34]


export function dispatchWithMiddleware(
    action: ActionFunction,
    actionType: string,
    args: IArguments,
    actionContext: ActionContext
) {
    if (!getGlobalContext().legacyDispatchWithMiddleware) {
        getGlobalContext().legacyDispatchWithMiddleware = finalDispatch;
    }

    getGlobalContext().legacyDispatchWithMiddleware(action, actionType, args, actionContext);
}