Class SingleDematerialize<T,R>

java.lang.Object
io.reactivex.rxjava3.core.Maybe<R>
io.reactivex.rxjava3.internal.operators.single.SingleDematerialize<T,R>
Type Parameters:
T - the element type of the source
R - the element type of the Notification and result
All Implemented Interfaces:
MaybeSource<R>

public final class SingleDematerialize<T,R> extends Maybe<R>
Maps the success value of the source to a Notification, then maps it back to the corresponding signal type.

History: 2.2.4 - experimental

Since:
3.0.0
  • Field Details

  • Constructor Details

  • Method Details

    • subscribeActual

      protected void subscribeActual(MaybeObserver<? super R> 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<R>
      Parameters:
      observer - the MaybeObserver to handle, not null