"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.finalize = void 0;
const Observable_js_1 = require("../Observable.js");
function finalize(callback) {
    return (source) => new Observable_js_1.Observable((subscriber) => {
        source.subscribe(subscriber);
        subscriber.add(callback);
    });
}
exports.finalize = finalize;//# sourceMappingURL=http://go/sourcemap/sourcemaps/31e8d61c448c7472e371505838a0fe34083dad50/node_modules/rxjs/dist/cjs/internal/operators/finalize.js.map