Visit ComfyUI Online for ready-to-use ComfyUI environment
Node for configurable time delay in workflow execution, with fractional seconds support and basic suspension mechanism.
This node allows you to wait for a configurable length of time before resuming execution. This can be useful if your workflow relies on concurrent or time-sensitive operations, or if you simply want some time to grab a cup of coffee in between generations. You can specify the length of time to wait in seconds by changing the value of Delay. To wait for less than one second, simply specify fractional numbers, such as 0.001 to wait for one millisecond. This node's implementation of a delay is useful but very naive. It simply instructs the process to be suspended for however long you specify. For a more robust implementation that actually uses a timer and polls it periodically, while still allowing you to cancel out of the waiting period and even has a nifty little screensaver, look no further than the Jovimetrix's [JOV Delay] custom node.
The Delay
parameter specifies the length of time to wait before resuming execution. This value is given in seconds and can be a fractional number to represent milliseconds. For example, setting Delay
to 1 will make the node wait for one second, while setting it to 0.001 will make it wait for one millisecond. This parameter directly impacts how long the node will pause the workflow, which can be useful for synchronizing time-sensitive operations or simply adding a delay for user convenience. There is no explicit minimum or maximum value, but practical usage should consider reasonable limits to avoid excessively long or short delays.
The Input
parameter is optional and can be of any type. It represents the data that will be forwarded to other nodes after the waiting period is over. This allows you to pass through any necessary data while incorporating a delay in your workflow. The default value is an empty list [""]
, but you can provide any data type that your workflow requires.
The Output
parameter will contain the data that was passed in through the Input
parameter after the delay has been processed. This allows the workflow to continue with the same data that was provided before the wait period, ensuring that the delay does not disrupt the flow of information through the nodes.
Delay
parameter to synchronize operations that need to occur at specific intervals or to introduce a pause in your workflow for user interaction or observation.Input
parameter to pass through any necessary data, ensuring that the delay does not interrupt the flow of information in your workflow.Delay
value to ensure it is set to a reasonable length of time. Avoid setting delays that are too long unless absolutely necessary.Input
parameter is set to a data type that is compatible with the nodes that follow the Wait
node in your workflow.Wait
node in your workflow to ensure that the delay serves its intended purpose without causing unnecessary interruptions.© Copyright 2024 RunComfy. All Rights Reserved.