Modifier and Type | Method and Description |
---|---|
static NonoProcessor |
create()
Creates a NonoProcessor instance ready to receive events and Subscribers.
|
Throwable |
getThrowable()
Returns the error that terminated this NonoProcessor if
hasThrowable() returns true. |
boolean |
hasComplete()
Returns true if this NonoProcessor has completed normally.
|
boolean |
hasSubscribers()
Returns true if this NonoProcessor currently has Subscribers.
|
boolean |
hasThrowable()
Returns true if this NonoProcessor has terminated with an error.
|
void |
onComplete() |
void |
onError(Throwable t) |
void |
onNext(Void t) |
void |
onSubscribe(Subscription s) |
protected void |
subscribeActual(Subscriber<? super Void> s)
Implement this method to signal the terminal events to the given subscriber.
|
amb, ambArray, andThen, andThen, blockingAwait, blockingAwait, blockingSubscribe, blockingSubscribe, blockingSubscribe, bufferSize, cache, complete, compose, concat, concat, concat, concatArray, concatArrayDelayError, concatDelayError, concatDelayError, concatDelayError, create, defer, delay, delay, delaySubscription, delaySubscription, delaySubscription, doAfterTerminate, doFinally, doOnCancel, doOnComplete, doOnError, doOnRequest, doOnSubscribe, error, error, flatMap, fromAction, fromCompletable, fromFuture, fromFuture, fromMaybe, fromObservable, fromPublisher, fromSingle, getOnAssemblyHandler, hide, lift, mapError, merge, merge, merge, merge, mergeArray, mergeArray, mergeArrayDelayError, mergeArrayDelayError, mergeDelayError, mergeDelayError, mergeDelayError, mergeDelayError, never, observeOn, onAssembly, onErrorComplete, onErrorResumeNext, repeat, repeat, repeat, repeatWhen, retry, retry, retry, retryWhen, setOnAssemblyHandler, subscribe, subscribe, subscribe, subscribe, subscribeOn, subscribeWith, takeUntil, test, test, timeout, timeout, timeout, timeout, timeout, timeout, timer, timer, to, toCompletable, toFlowable, toFuture, toMaybe, toObservable, toPerhaps, unsubscribeOn, using, using
public static NonoProcessor create()
public void onSubscribe(Subscription s)
onSubscribe
in interface Subscriber<Void>
public void onNext(Void t)
onNext
in interface Subscriber<Void>
public void onError(Throwable t)
onError
in interface Subscriber<Void>
public void onComplete()
onComplete
in interface Subscriber<Void>
protected void subscribeActual(Subscriber<? super Void> s)
Nono
subscribeActual
in class Nono
s
- the downstream subscriber, not nullpublic boolean hasSubscribers()
public boolean hasComplete()
public boolean hasThrowable()
getThrowable()
public Throwable getThrowable()
hasThrowable()
returns true.