The Delay Block introduces a specified pause in the execution of your workflow. It accepts any number of inputs and, after the set delay, passes these input values to the outputs without modification. This block is particularly useful for controlling the timing and pacing of your workflow execution.
The ith output from the execution of the delay block. Each output corresponds to its respective input and is returned after the specified delay. The number of outputs matches the number of inputs minus 1.
The Delay block is designed to handle inputs robustly and doesn’t generate errors under normal circumstances. If a negative delay time is provided, it will be treated as zero, resulting in immediate execution.
If the delay time is set to zero, the Delay block will pass the input to the output immediately, effectively acting as a pass-through block.
Can I use the Delay block to throttle API calls?
Yes, the Delay block can be used to throttle API calls. For instance, if you have a workflow that makes frequent API calls, you can use the Delay block to ensure that calls are not made more often than a specified interval.