Represents one or more commands to control graph execution flow and state.
This type defines the control commands that can be returned by nodes to influence graph execution. It lets you navigate to other nodes, update graph state, and resume from interruptions.
Command()Specifies where execution should continue. Can be:
Updates to apply to the graph's state. Can be:
Value to resume execution with after an interruption. Used in conjunction with interrupt() to implement control flow.