STRUCT
AnyWorkflow¶
public struct AnyWorkflow<Rendering, Output>
A type-erased wrapper that contains a workflow with the given Rendering and Output types.
Properties¶
base¶
public var base: Any
The underlying erased workflow instance
workflowType¶
public var workflowType: Any.Type
The underlying workflow’s implementation type.
Methods¶
init(_:)¶
public init<T: Workflow>(_ workflow: T) where T.Rendering == Rendering, T.Output == Output
Initializes a new type-erased wrapper for the given workflow.