Transformer
public protocol Transformer
A protocol that indicates a type that can perform transformations of values.
-
The value that the transformer accepts as an input.
Declaration
Swift
associatedtype Input -
The value the transformer will output.
Declaration
Swift
associatedtype Output -
append(transformer:Extension method) Create a new transformer that aggregates
selfand the provided transfomer.Declaration
Swift
public func append<Transformer: Persist.Transformer>( transformer: Transformer ) -> AggregateTransformer<Input, Transformer.Output> where Transformer.Input == OutputParameters
transformerThe transformer to aggregate with this transformer.
Return Value
The aggregate transformer.
View on GitHub
Transformer Protocol Reference