findFirstOrElse method

Observable<T> findFirstOrElse(
  1. Predicate1<T> predicate,
  2. Map0<T> callback
)

Emits the first item of this Observable sequence matching the predicate, or evaluate the provided callback otherwise.

Implementation

Observable<T> findFirstOrElse(Predicate1<T> predicate, Map0<T> callback) =>
    FirstObservable<T>(this, predicate, callback);