finalize.d.ts 534 B

12345678910
  1. import { MonoTypeOperatorFunction } from '../interfaces';
  2. /**
  3. * Returns an Observable that mirrors the source Observable, but will call a specified function when
  4. * the source terminates on complete or error.
  5. * @param {function} callback Function to be called when source terminates.
  6. * @return {Observable} An Observable that mirrors the source, but will call the specified function on termination.
  7. * @method finally
  8. * @owner Observable
  9. */
  10. export declare function finalize<T>(callback: () => void): MonoTypeOperatorFunction<T>;