Class BlockingFlowableMostRecent<T>

java.lang.Object
io.reactivex.rxjava3.internal.operators.flowable.BlockingFlowableMostRecent<T>
Type Parameters:
T - the value type
All Implemented Interfaces:
Iterable<T>

public final class BlockingFlowableMostRecent<T> extends Object implements Iterable<T>
Returns an Iterable that always returns the item most recently emitted by an Observable, or a seed value if no item has yet been emitted.

  • Field Details

    • source

      final Flowable<T> source
    • initialValue

      final T initialValue
  • Constructor Details

    • BlockingFlowableMostRecent

      public BlockingFlowableMostRecent(Flowable<T> source, T initialValue)
  • Method Details