public static class StreamSubscriptionTimeoutSupport.CancelingSubscriber$
extends java.lang.Object
implements org.reactivestreams.Subscriber<java.lang.Object>, scala.Product, scala.Serializable
cancel
directly from onSubscribe
and ignores all other callbacks.Modifier and Type | Field and Description |
---|---|
static StreamSubscriptionTimeoutSupport.CancelingSubscriber$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
CancelingSubscriber$() |
Modifier and Type | Method and Description |
---|---|
void |
onComplete() |
void |
onError(java.lang.Throwable t) |
void |
onNext(java.lang.Object elem) |
void |
onSubscribe(org.reactivestreams.Subscription s) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final StreamSubscriptionTimeoutSupport.CancelingSubscriber$ MODULE$
public void onSubscribe(org.reactivestreams.Subscription s)
onSubscribe
in interface org.reactivestreams.Subscriber<java.lang.Object>
public void onError(java.lang.Throwable t)
onError
in interface org.reactivestreams.Subscriber<java.lang.Object>
public void onComplete()
onComplete
in interface org.reactivestreams.Subscriber<java.lang.Object>
public void onNext(java.lang.Object elem)
onNext
in interface org.reactivestreams.Subscriber<java.lang.Object>