Open YoniChechik opened 10 months ago
Can you please provide an example of when this might be useful? There is already a timeout option to kill the worker if execution takes too long. Since execution is done in a worker, this shouldn't impact the UI thread.
Do a while True loop and print some counter.
Long output that changes fast can cause slowness in the client side. I sugest that the package will have some num lines trunction threshold.
it can be easily implemented in the usePython hook:
The var
numMaxOutputLines
can be set in the usePython (-1 default to no truncation)