FlowRepresentableAggregator
public protocol FlowRepresentableAggregator
Aggregates WorkflowDecodable types for decoding.
NOTE: Unless you are using a tool like the SwiftCurrent_CLI to generate an aggregator, you’ll need to create your own. Simply supply the types for every FlowRepresentable you want to decode (make sure they conform to WorkflowDecodable).
-
A list of
WorkflowDecodabletypes to use when decoding a workflowDeclaration
Swift
var types: [WorkflowDecodable.Type] { get } -
typeMapDefault implementationA dictionary representation of flowRepresentableName to
WorkflowDecodableNote
This is auto-generated unless you override the behaviorDefault Implementation
A dictionary representation of flowRepresentableName to
WorkflowDecodableNote
This is auto-generated unless you override the behaviorDeclaration
Swift
var typeMap: [String : WorkflowDecodable.Type] { get } -
Creates a FlowRepresentableAggregator with default types.
Note
Convenience methods use this empty initializer; alternative public methods exist for an already initialized aggregator.Declaration
Swift
init()
View on GitHub
FlowRepresentableAggregator Protocol Reference