Properties
Protected hardInternalDeadline
hardInternalDeadline: number
Optional marshalled
marshalled: undefined | true | false
Optional marshalledKeyProps
marshalledKeyProps: [string, string]
Protected softInternalDeadline
softInternalDeadline: number
transform
transform: function
Optional transformerConfig
transformerConfig: any
For transformations operating on the Commit level. Is most useful when used in conjunction with a Transformer.
export default new CommitTransformation({ name: 'Do something', source: new AwsEventStore({tableName: 'tableA'}), target: new AwsEventStore({tableName: 'tableB'}), async transform(commit: Commit) { // return the output commits of this commit transformation return [commit] }, })