Top Description Fields Constructors Methods
io.reactivex.internal.observers

public final Class BlockingLastObserver<T>

extends BlockingBaseObserver<T>
Class Inheritance
Type Parameters
<T>
the value type

Blocks until the upstream signals its last value or completes.

Field Summary

Inherited from io.reactivex.internal.observers.BlockingBaseObserver:
cancellederrorupstreamvalue

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
onError(Throwable
the exception encountered by the Observable
t
)

Implements io.reactivex.Observer.onError.

Notifies the Observer that the Observable has experienced an error condition.
public void
onNext(T
the item emitted by the Observable
t
)

Implements io.reactivex.Observer.onNext.

Provides the Observer with a new item to observe.
Inherited from io.reactivex.internal.observers.BlockingBaseObserver:
blockingGetdisposeisDisposedonCompleteonSubscribe

Constructor Detail

BlockingLastObserverback to summary
public BlockingLastObserver()

Method Detail

onErrorback to summary
public void onError(Throwable t)

Implements io.reactivex.Observer.onError.

Doc from io.reactivex.Observer.onError.

Notifies the Observer that the Observable has experienced an error condition.

If the Observable calls this method, it will not thereafter call onNext or onComplete.

Parameters
t:Throwable

the exception encountered by the Observable

Annotations
@Override
onNextback to summary
public void onNext(T t)

Implements io.reactivex.Observer.onNext.

Doc from io.reactivex.Observer.onNext.

Provides the Observer with a new item to observe.

The Observable may call this method 0 or more times.

The Observable will not call this method again after it calls either onComplete or onError.

Parameters
t:T

the item emitted by the Observable

Annotations
@Override