public class LimitingSubscriber<T> extends DelegatingSubscriber<T,T>
subscriber
Constructor and Description |
---|
LimitingSubscriber(org.reactivestreams.Subscriber<? super T> subscriber,
int limit) |
Modifier and Type | Method and Description |
---|---|
void |
onNext(T t) |
void |
onSubscribe(org.reactivestreams.Subscription subscription) |
onComplete, onError
public LimitingSubscriber(org.reactivestreams.Subscriber<? super T> subscriber, int limit)
public void onSubscribe(org.reactivestreams.Subscription subscription)
onSubscribe
in interface org.reactivestreams.Subscriber<T>
onSubscribe
in class DelegatingSubscriber<T,T>
public void onNext(T t)
Copyright © 2022. All rights reserved.