Class MaybeDelayOtherPublisher<T,U>

java.lang.Object
io.reactivex.rxjava3.core.Maybe<T>
io.reactivex.rxjava3.internal.operators.maybe.AbstractMaybeWithUpstream<T,T>
io.reactivex.rxjava3.internal.operators.maybe.MaybeDelayOtherPublisher<T,U>
Type Parameters:
T - the main value type
U - the other value type
All Implemented Interfaces:
MaybeSource<T>, HasUpstreamMaybeSource<T>

public final class MaybeDelayOtherPublisher<T,U> extends AbstractMaybeWithUpstream<T,T>
Delay the emission of the main signal until the other signals an item or completes.
  • Field Details

    • other

      final org.reactivestreams.Publisher<U> other
  • Constructor Details

    • MaybeDelayOtherPublisher

      public MaybeDelayOtherPublisher(MaybeSource<T> source, org.reactivestreams.Publisher<U> other)
  • Method Details

    • subscribeActual

      protected void subscribeActual(MaybeObserver<? super T> observer)
      Description copied from class: Maybe
      Implement this method in subclasses to handle the incoming MaybeObservers.

      There is no need to call any of the plugin hooks on the current Maybe instance or the MaybeObserver; all hooks and basic safeguards have been applied by Maybe.subscribe(MaybeObserver) before this method gets called.

      Specified by:
      subscribeActual in class Maybe<T>
      Parameters:
      observer - the MaybeObserver to handle, not null