last method

Observable<T> last()

Emits the last item of this Observable, or emits an TooFewError otherwise.

Implementation

Observable<T> last() => lastOrElse(throwFunction0(TooFewError()));