Class HybridSubscriber.SubscriberReference<T>
- java.lang.Object
-
- io.helidon.microprofile.reactive.hybrid.HybridSubscriber.SubscriberReference<T>
-
- Type Parameters:
T- type of the item
- All Implemented Interfaces:
org.reactivestreams.Subscriber<T>
- Enclosing interface:
- HybridSubscriber<T>
public static class HybridSubscriber.SubscriberReference<T> extends Object implements org.reactivestreams.Subscriber<T>
Simple releasable subscriber reference. https://github.com/reactive-streams/reactive-streams-jvm#3.13
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonComplete()voidonError(Throwable throwable)voidonNext(T item)voidonSubscribe(org.reactivestreams.Subscription subscription)
-
-
-
Method Detail
-
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription subscription)
- Specified by:
onSubscribein interfaceorg.reactivestreams.Subscriber<T>
-
onNext
public void onNext(T item)
- Specified by:
onNextin interfaceorg.reactivestreams.Subscriber<T>
-
onError
public void onError(Throwable throwable)
- Specified by:
onErrorin interfaceorg.reactivestreams.Subscriber<T>
-
onComplete
public void onComplete()
- Specified by:
onCompletein interfaceorg.reactivestreams.Subscriber<T>
-
-