MCPcopy
hub / github.com/redux-loop/redux-loop / executeCmd

Function executeCmd

src/cmd.js:160–167  ·  view source on GitHub ↗
(cmd, dispatch, getState, loopConfig = {})

Source from the content-addressed store, hash-verified

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

Callers 2

cmd.spec.jsFile · 0.90
runCmdFunction · 0.90

Calls 1

executeCmdInternalFunction · 0.85

Tested by

no test coverage detected