public class ListSubscriber<T> extends StreamingOutput.Subscriber<T>
| Modifier and Type | Method and Description |
|---|---|
static <T> ListSubscriber<T> |
instance() |
void |
onNext(Collection<T> outputTarget,
T t)
Data notification sent by the
StreamingOutput. |
void |
onNext(T t)
Data notification sent by the
StreamingOutput. |
public static <T> ListSubscriber<T> instance()
public void onNext(T t)
StreamingOutput.SubscriberStreamingOutput.onNext in class StreamingOutput.Subscriber<T>t - elementpublic void onNext(Collection<T> outputTarget, T t)
StreamingOutput.SubscriberStreamingOutput.onNext in class StreamingOutput.Subscriber<T>outputTarget - targett - elementCopyright © 2019 lettuce.io. All rights reserved.