Class MaybeTimeInterval<T>

  • Type Parameters:
    T - the element type of the sequence
    All Implemented Interfaces:
    MaybeSource<Timed<T>>

    public final class MaybeTimeInterval<T>
    extends Maybe<Timed<T>>
    Measures the time between subscription and the success item emission from the upstream and emits this as a Timed success value.
    Since:
    3.0.0
    • Field Detail

      • unit

        final java.util.concurrent.TimeUnit unit
      • start

        final boolean start
    • Constructor Detail

      • MaybeTimeInterval

        public MaybeTimeInterval​(MaybeSource<T> source,
                                 java.util.concurrent.TimeUnit unit,
                                 Scheduler scheduler,
                                 boolean start)