Actions
Last updated
export const myAction = ({ state, effects, actions }, value) => {
}export const myAction = ({ state, effects, actions }) => {
actions.myOtherAction('foo')
}
export const myOtherAction = ({ state, effects, actions }, value) {
}export const myAction: Action = ({ state, effects, actions }) => {
actions._internalActionA('foo')
actions._internalActionB()
}
export const _internalActionA = ({ state, effects, actions }, value) {}
export const _internalActionB = async ({ state, effects, actions }) {}