Closed calvinnwq closed 8 years ago
This allows including callbacks in actions.
const otherAction = createAction('OTHER_ACTION'); const options = { ok: { callback: (dispatch) => { dispatch(otherAction()); }, }, }; const request = createActionAsync('ACTION', apiOk, options);
This PR doesn't merge properly, do you mind having a look ?
This allows including callbacks in actions.