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
context
The context for the node.
workflow
The workflow for the node.
input
The input for the node.
actions
The actions for the node.
-
Converts the ContinueNode to a Request.
Declaration
Swift
open func asRequest() -> Request
Return Value
The Request representation of the ContinueNode.
-
next()
AsynchronousMoves to the next node in the workflow.
Declaration
Swift
public func next() async -> Node
Return Value
The next Node.
-
Closes all closeable actions.
Declaration
Swift
public func close()