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 WorkflowDecodable types to use when decoding a workflow

    Declaration

    Swift

    var types: [WorkflowDecodable.Type] { get }
  • typeMap Default implementation

    A dictionary representation of flowRepresentableName to WorkflowDecodable

    Note

    This is auto-generated unless you override the behavior

    Default Implementation

    A dictionary representation of flowRepresentableName to WorkflowDecodable

    Note

    This is auto-generated unless you override the behavior

    Declaration

    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()