(cmd, dispatch, getState, loopConfig = {})
| 158 | } |
| 159 | |
| 160 | export function executeCmd(cmd, dispatch, getState, loopConfig = {}) { |
| 161 | return executeCmdInternal(cmd, { |
| 162 | dispatch, |
| 163 | wrappedDispatch: dispatch, |
| 164 | getState, |
| 165 | loopConfig, |
| 166 | }); |
| 167 | } |
| 168 | |
| 169 | function executeCmdInternal(cmd, context) { |
| 170 | switch (cmd.type) { |
no test coverage detected