JourneyContinueNode
public final class JourneyContinueNode : ContinueNode, @unchecked Sendable
A ContinueNode specialized for Journey flows.
Builds the JSON payload from contained callbacks and constructs the HTTP request targeting the Journey authenticate endpoint.
-
Creates a new JourneyContinueNode.
Declaration
Swift
public init(context: FlowContext, workflow: Workflow, input: [String : Any], actions: [any Callback])Parameters
contextThe flow context for the journey.
workflowThe owning workflow instance.
inputThe raw input JSON for this step (contains authId and callbacks).
actionsThe list of callbacks to be executed in this step.
-
Converts this node to a Request ready to be sent by the workflow.
Declaration
Swift
override public func asRequest() -> RequestReturn Value
A
Requestconfigured with URL, headers, and JSON body for the authenticate endpoint.
View on GitHub