firstOrDefault method

Observable<T> firstOrDefault(
  1. T value
)

Emits the first item of this Observable, or the provided default value otherwise.

Implementation

Observable<T> firstOrDefault(T value) =>
    firstOrElse(constantFunction0(value));