public class WrappedSubscriber<T> extends Object implements org.reactivestreams.Subscriber<T>
Constructor and Description |
---|
WrappedSubscriber(org.reactivestreams.Subscriber<T> delegate) |
Modifier and Type | Method and Description |
---|---|
CompletionStage<Void> |
future() |
void |
onComplete() |
void |
onError(Throwable throwable) |
void |
onNext(T item) |
void |
onSubscribe(org.reactivestreams.Subscription subscription) |
public WrappedSubscriber(org.reactivestreams.Subscriber<T> delegate)
public CompletionStage<Void> future()
public void onSubscribe(org.reactivestreams.Subscription subscription)
onSubscribe
in interface org.reactivestreams.Subscriber<T>
public void onNext(T item)
onNext
in interface org.reactivestreams.Subscriber<T>
public void onError(Throwable throwable)
onError
in interface org.reactivestreams.Subscriber<T>
public void onComplete()
onComplete
in interface org.reactivestreams.Subscriber<T>
Copyright © 2018–2019 SmallRye. All rights reserved.