Package org.jctools.channels
Interface ChannelReceiver<E>
- Type Parameters:
E
- element type
public interface ChannelReceiver<E>
The receiver interface is implemented by end users in order to receiver data from the channel.
-
Method Summary
-
Method Details
-
accept
New elements are passed into this method. NB: the element is only readable for the lifecycle of this callback.- Parameters:
element
- the element which is being accepted by the consumer.
-