class EmitWithFeedback
The EmitWithFeedback process is used to send data objects of type dataClassName to the rest of the parallel structure; it writes output data objects to one output channel until it receives a false boolean value on its feedback channel. It then terminates and writes a UniversalTerminator object to the output channel.
output
- The one2one channel to which data objects are writtenfeedback
- The channel used to read a boolean input; which when false causes
the process to terminate. True values are ignored.eDetails
- A DataDetails object that specifies the data class to be emittedType | Name and description |
---|---|
DataDetails |
eDetails |
ChannelInput |
feedback |
ChannelOutput |
output |
Constructor and description |
---|
EmitWithFeedback
() |
GPP - Groovy Parallel Patterns generated 06112016 by Jon Kerridge, Edinburgh Napier University - j.kerridge@napier.ac.uk