Open JoeStrout opened 2 months ago
It looks like while a script is running, MSTerminal sits in its runCycles method, until coopRunner reports isFinished().
runCycles
coopRunner
isFinished()
So, maybe we could put an abort flag on MSTerminal, and have runCycles bail out when the runner is finished or when abort is true?
abort
This is needed for https://github.com/JoeStrout/miniscript-tryit/issues/1
Well I guess we should keep this open until I make a PR and it gets merged in.
It looks like while a script is running, MSTerminal sits in its
runCycles
method, untilcoopRunner
reportsisFinished()
.So, maybe we could put an
abort
flag on MSTerminal, and haverunCycles
bail out when the runner is finished or whenabort
is true?This is needed for https://github.com/JoeStrout/miniscript-tryit/issues/1