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

Function executeNestedCmd

src/cmd.js:137–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135
136function handleDelayCmd(cmd, context) {
137 const executeNestedCmd = () => {
138 const cmdPromise = executeCmdInternal(cmd.nestedCmd, context);
139 if (cmdPromise) {
140 cmdPromise.then((actions) => {
141 actions.forEach((action) => context.wrappedDispatch(action));
142 });
143 }
144 };
145
146 let timerId;
147 if (cmd.type === cmdTypes.SET_INTERVAL) {

Callers

nothing calls this directly

Calls 1

executeCmdInternalFunction · 0.85

Tested by

no test coverage detected