Name

adams.flow.transformer.ProgrammaticTokenListener


Synopsis

Transformer that allows other, non-flow code to 'listen on the wire' of the data being processed.
Typically used for flows that are executed as background jobs in the user interface.
Listeners can be added/removed via the addTokenListener/removeTokenListener methods and must implement the adams.flow.transformer.ProgrammaticTokenListener$TokenListener interface.
Listeners get automatically removed once the flow finishes (wrapUp method).


Additional information

Flow input/output:
- input: adams.flow.core.Unknown
- output: adams.flow.core.Unknown


Options