📜  在 redux 中调度两个动作 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:26.735000             🧑  作者: Mango

代码示例1
export const topLevelAction = () => dispatch => {
    return Promise.all([dispatch(action1()), dispatch(action2()), dispatch(action3())])
}