lastOrElse method

Observable<T> lastOrElse(
  1. Map0<T> callback
)

Emits the last item of this Observable, or evaluate the provided callback otherwise.

Implementation

Observable<T> lastOrElse(Map0<T> callback) =>
    findLastOrElse(constantFunction1(true), callback);