Minor changes in execution loop code

This commit is contained in:
Nilay Majorwar
2021-12-15 21:39:37 +05:30
parent 13ff6da638
commit 38247f03c8
2 changed files with 24 additions and 11 deletions

View File

@ -44,7 +44,7 @@ export const Mainframe = () => {
setRendererState(result.rendererState);
setCodeHighlights(result.nextStepLocation || undefined);
setOutput((o) => (o || "") + (result.output || ""));
}, 1000);
}, 40);
};
/** Pause the ongoing execution */
@ -70,7 +70,7 @@ export const Mainframe = () => {
setRendererState(result.rendererState);
setCodeHighlights(result.nextStepLocation || undefined);
setOutput((o) => (o || "") + (result.output || ""));
}, 1000);
}, 40);
};
/** Stop the currently active execution */