Open anna-geller opened 1 week ago
Pause is already there for that, moreover pause can be resumed, and free the worker thread for other tasks.
Yes correct, I'm aware. Pause has to be Resumed (unless you dive deeper to understand how timeout + delay works) -- we need a simple Wait task that will keep the Execution in a RUNNING state -- often needed for process orchestration too
No, pause can be resume, by default a Pause with a delay do exactly the same as what you propose here except that it frees the worker thread (and allow resuming if for some reason you don't want to wait for so long).
Feature description
Often, even for testing/demo, we need to make execution run for at least X number of seconds/minutes. Atm, we tend to run it in a container or local process, which can be costly + too many lines of code:
It would be useful to add a dedicated tasks for it:
Seems useful for unit testing too.