flow
(required): The input flow that will be throttled.duration
(optional, default: 1): The amount of time in seconds to wait between each input. This value can be a float for sub-second precision.cancel
(optional): A flow that, when triggered, will cancel the current throttle delay and immediately pass through the next input.flow
: The throttled output flow. Each input will be emitted on this output after the specified duration has elapsed.flow
input of the Throttle node.duration
input to the desired delay between each input, in seconds. For example, to limit the flow to one input every 5 seconds, set duration
to 5.cancel
input. When this flow is triggered, it will cancel any current delay and immediately pass through the next input.flow
output to the next node in your spell.duration
appropriately. Too short a duration may still overload downstream nodes or APIs, while too long could unnecessarily slow your spell.cancel
input when you have a separate flow that needs the ability to preempt the throttle delay, such as a high priority request.duration
input will result in the default 1 second delay, which may not be what you intended. Always double check this setting.cancel
input can effectively bypass the throttle entirely, as each delay will be canceled immediately. Ensure your cancel flow is used judiciously.