java.lang.Object
io.reactivex.rxjava3.core.Maybe<Long>
io.reactivex.rxjava3.internal.operators.maybe.MaybeTimer
All Implemented Interfaces:
MaybeSource<Long>

public final class MaybeTimer extends Maybe<Long>
Signals a 0L after the specified delay.
  • Field Details

    • delay

      final long delay
    • unit

      final TimeUnit unit
    • scheduler

      final Scheduler scheduler
  • Constructor Details

  • Method Details

    • subscribeActual

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