FirstOperator<T> extension
- on
-
- Observable<
T>
- Observable<
Methods
-
findFirst(
Predicate1< T> predicate) → Observable<T> -
Available on Observable<
Emits the first item of this Observable sequence matching theT> , provided by the FirstOperator extensionpredicate
, or emits an TooFewError otherwise. -
findFirstOrDefault(
Predicate1< T> predicate, T value) → Observable<T> -
Available on Observable<
Emits the first item of this Observable sequence matching theT> , provided by the FirstOperator extensionpredicate
, or the provided defaultvalue
otherwise. -
findFirstOrElse(
Predicate1< T> predicate, Map0<T> callback) → Observable<T> -
Available on Observable<
Emits the first item of this Observable sequence matching theT> , provided by the FirstOperator extensionpredicate
, or evaluate the providedcallback
otherwise. -
first(
) → Observable< T> -
Available on Observable<
Emits the first item of this Observable, or emits an TooFewError otherwise.T> , provided by the FirstOperator extension -
firstOrDefault(
T value) → Observable< T> -
Available on Observable<
Emits the first item of this Observable, or the provided defaultT> , provided by the FirstOperator extensionvalue
otherwise. -
firstOrElse(
Map0< T> callback) → Observable<T> -
Available on Observable<
Emits the first item of this Observable, or evaluate the providedT> , provided by the FirstOperator extensioncallback
otherwise.