import { Observable } from '../Observable.js';
export function finalize(callback) {
    return (source) => new Observable((subscriber) => {
        source.subscribe(subscriber);
        subscriber.add(callback);
    });
}//# sourceMappingURL=http://go/sourcemap/sourcemaps/63a2996a10d9e476b6c28e951dd7691d9c0cf480/node_modules/rxjs/dist/esm/internal/operators/finalize.js.map