ContinueNode
Abstract class for a ContinueNode node in the workflow.
- property context: The context for the node.
- property workflow: The workflow for the node.
- property input: The input for the node.
- property actions: The actions for the node.
-
Declaration
Swift
public let context: FlowContext -
Declaration
Swift
public let workflow: Workflow -
Declaration
Swift
public let input: [String : Any] -
Declaration
Swift
public let actions: [any Action] -
Initializes a new instance of
ContinueNode.Declaration
Swift
public init(context: FlowContext, workflow: Workflow, input: [String : Any], actions: [any Action])Parameters
contextThe context for the node.
workflowThe workflow for the node.
inputThe input for the node.
actionsThe actions for the node.
-
Converts the ContinueNode to a Request.
Declaration
Swift
open func asRequest() -> RequestReturn Value
The Request representation of the ContinueNode.
-
next()AsynchronousMoves to the next node in the workflow.
Declaration
Swift
public func next() async -> NodeReturn Value
The next Node.
-
Closes all closeable actions.
Declaration
Swift
public func close()
View on GitHub