Add pause-resume-stop functionality and UI

This commit is contained in:
Nilay Majorwar
2021-12-15 21:31:25 +05:30
parent 29b243d6f2
commit 13ff6da638
8 changed files with 262 additions and 31 deletions

View File

@@ -35,6 +35,9 @@ export type StepExecutionResult<RS> = {
* Passing `null` indicates reaching the end of program.
*/
nextStepLocation: DocumentRange | null;
/** Signal if execution has been paused/stopped */
signal?: "paused";
};
/**