T
- The publishers result typepublic static class SubscriberHelpers.ObservableSubscriber<T>
extends java.lang.Object
implements org.reactivestreams.Subscriber<T>
Modifier and Type | Method and Description |
---|---|
SubscriberHelpers.ObservableSubscriber<T> |
await() |
SubscriberHelpers.ObservableSubscriber<T> |
await(long timeout,
java.util.concurrent.TimeUnit unit) |
java.util.List<T> |
get(long timeout,
java.util.concurrent.TimeUnit unit) |
java.lang.Throwable |
getError() |
java.util.List<T> |
getReceived() |
org.reactivestreams.Subscription |
getSubscription() |
boolean |
isCompleted() |
void |
onComplete() |
void |
onError(java.lang.Throwable t) |
void |
onNext(T t) |
void |
onSubscribe(org.reactivestreams.Subscription s) |
public void onSubscribe(org.reactivestreams.Subscription s)
onSubscribe
in interface org.reactivestreams.Subscriber<T>
public void onError(java.lang.Throwable t)
onError
in interface org.reactivestreams.Subscriber<T>
public void onComplete()
onComplete
in interface org.reactivestreams.Subscriber<T>
public org.reactivestreams.Subscription getSubscription()
public java.util.List<T> getReceived()
public java.lang.Throwable getError()
public boolean isCompleted()
public java.util.List<T> get(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.Throwable
java.lang.Throwable
public SubscriberHelpers.ObservableSubscriber<T> await() throws java.lang.Throwable
java.lang.Throwable
public SubscriberHelpers.ObservableSubscriber<T> await(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.Throwable
java.lang.Throwable