finalize method

Observable<T> finalize(
  1. CompleteCallback finalize
)

Return an Observable that mirrors this Observable, but will call a specified function when the source terminates on completion or error.

Implementation

Observable<T> finalize(CompleteCallback finalize) =>
    FinalizeObservable<T>(this, finalize);