Class ObservableAmb.AmbCoordinator<T>

java.lang.Object
io.reactivex.rxjava3.internal.operators.observable.ObservableAmb.AmbCoordinator<T>
All Implemented Interfaces:
Disposable
Enclosing class:
ObservableAmb<T>

static final class ObservableAmb.AmbCoordinator<T> extends Object implements Disposable
  • Field Details

  • Constructor Details

    • AmbCoordinator

      AmbCoordinator(Observer<? super T> actual, int count)
  • Method Details

    • subscribe

      public void subscribe(ObservableSource<? extends T>[] sources)
    • win

      public boolean win(int index)
    • dispose

      public void dispose()
      Description copied from interface: Disposable
      Dispose the resource, the operation should be idempotent.
      Specified by:
      dispose in interface Disposable
    • isDisposed

      public boolean isDisposed()
      Description copied from interface: Disposable
      Returns true if this resource has been disposed.
      Specified by:
      isDisposed in interface Disposable
      Returns:
      true if this resource has been disposed