wishthis/node_modules/rxjs/internal/operators/finalize.d.ts

11 lines
529 B
TypeScript
Raw Normal View History

2022-05-29 09:24:36 +00:00
import { MonoTypeOperatorFunction } from '../types';
/**
* 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>;