⏪ Cycle Finish

CycleEnd

Ends a Cycle, a kind of Loop that gets iterated each time a prompt is executed. You can use Cycles to send information forwards into subsequent prompts, allowing for workflows that process data in an iterative manner. Connect the CYCLE input of this node to a [Cycle]'s CYCLE output node to establish a loop. Information from Data and Aux Inputs will flow through the CYCLE line and be cached to be retrieved upon the next loop iteration. The Index output specifies the current value of the loop counter after Step is applied. The Finished output returns True if the loop counter has reached or surpassed the value specified by End. HOVER OVER THE INPUTS AND OUTPUTS FOR MORE INFO.

Pack: ControlFlowUtils

custom_nodes.ControlFlowUtils

Inputs (7)

NameTypeRequired
CYCLECYCLErequired
data*required
aux*optional
aux2*optional
aux3*optional
aux4*optional
aux5*optional

Outputs (2)

NameType
indexINT
FINISHED?BOOLEAN