Interrupting Execution
Execution can be interrupted at any time by calling the interruptExecution
method. This will terminate the running worker and spawn a new one.
Try running the example below and stopping the execution before it finishes.
You can also set a timeout globally, see the API reference docs.
Loading...