Commit Detail
Commit 5d3b5ca
feat: better define retry delay and step timeout types Previously, both types were specified as a string, which is not intended behaviour. We only allow for a specific formatted string - same as WorkflowSleepDuration. I've added WorkflowTimeoutDuration and WorkflowDelayDuration for better DX in the types by reducing confusion (otherwise you would see a WorkflowSleepDuration in a timeout) - also gives us flexibility if we need to seperate them later. While you could think that this could be a breaking change in the types, we already validate it at runtime.
Files changed
1 file changed~1 modified