| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Action | |
| pack-priv final Consumer | |
| pack-priv final Consumer | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | MaybeCallbackObserver(Consumer<? super T> onSuccess, Consumer<? super Throwable> onError, Action onComplete)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Implements io. |
| public boolean | hasCustomOnError()
Implements io. true or false if a custom onError consumer has been provided.
|
| public boolean | isDisposed()
Implements io. |
| public void | onComplete()
Implements io. |
| public void | |
| public void | |
| public void | onSuccess(T
the item emitted by the value)MaybeImplements io. MaybeObserver with one item and that the Maybe has finished sending
push-based notifications.
|
| onComplete | back to summary |
|---|---|
| pack-priv final Action onComplete | |
| onError | back to summary |
|---|---|
| pack-priv final Consumer<? super Throwable> onError | |
| onSuccess | back to summary |
|---|---|
| pack-priv final Consumer<? super T> onSuccess | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| MaybeCallbackObserver | back to summary |
|---|---|
| public MaybeCallbackObserver(Consumer<? super T> onSuccess, Consumer<? super Throwable> onError, Action onComplete) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements io. Doc from io. Dispose the resource, the operation should be idempotent.
| |
| hasCustomOnError | back to summary |
|---|---|
| public boolean hasCustomOnError() Implements io. Doc from io. Returns
| |
| isDisposed | back to summary |
|---|---|
| public boolean isDisposed() Implements io. Doc from io. Returns true if this resource has been disposed.
| |
| onComplete | back to summary |
|---|---|
| public void onComplete() Implements io. Doc from io. Called once the deferred computation completes normally.
| |
| onError | back to summary |
|---|---|
public void onError(Throwable e)
| |
| onSubscribe | back to summary |
|---|---|
public void onSubscribe(Disposable d)
| |
| onSuccess | back to summary |
|---|---|
| public void onSuccess(T value) Implements io. Doc from io. Notifies the
The
| |