Tumortisch-Dist/resources/app/node_modules/rxjs/operators/finalize.d.ts
2021-06-15 16:00:08 +02:00

11 lines
534 B
TypeScript

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