Skip to content

STRUCT

WorkflowSession¶

public struct WorkflowSession

A WorkflowSessionencapsulates the information that gives a WorkflowNode its identity. In particular, it captures: - The type of the corresponding Workflow conformance. - The String key used when the workflow was rendered. - An Identifier type that is unique across program execution. - An optional reference to a parent WorkflowSession, to differentiate root nodes.

Properties¶

workflowType¶

public let workflowType: Any.Type

renderKey¶

public let renderKey: String

sessionID¶

public let sessionID = Identifier()

parent¶

public var parent: WorkflowSession?