| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final MaybeSource | |
| private final Iterable |
| Access | Constructor and Description |
|---|---|
| public | MaybeAmb(MaybeSource<? extends T>[] sources, Iterable<? extends MaybeSource<? extends T>> sourcesIterable)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void |
| sources | back to summary |
|---|---|
| private final MaybeSource<? extends T>[] sources | |
| sourcesIterable | back to summary |
|---|---|
| private final Iterable<? extends MaybeSource<? extends T>> sourcesIterable | |
| MaybeAmb | back to summary |
|---|---|
| public MaybeAmb(MaybeSource<? extends T>[] sources, Iterable<? extends MaybeSource<? extends T>> sourcesIterable) | |
| subscribeActual | back to summary |
|---|---|
protected void subscribeActual(MaybeObserver<? super T> observer)
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final MaybeObserver | |
| pack-priv final CompositeDisposable | |
| pack-priv Disposable | |
| pack-priv final AtomicBoolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | AmbMaybeObserver(MaybeObserver<? super T> downstream, CompositeDisposable set, AtomicBoolean winner)
|
| Modifier and Type | Method and Description |
|---|---|
| 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.
|
| downstream | back to summary |
|---|---|
| pack-priv final MaybeObserver<? super T> downstream | |
| set | back to summary |
|---|---|
| pack-priv final CompositeDisposable set | |
| upstream | back to summary |
|---|---|
| pack-priv Disposable upstream | |
| winner | back to summary |
|---|---|
| pack-priv final AtomicBoolean winner | |
| AmbMaybeObserver | back to summary |
|---|---|
| pack-priv AmbMaybeObserver(MaybeObserver<? super T> downstream, CompositeDisposable set, AtomicBoolean winner) | |
| 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
| |