hugoWebsite/node_modules/rxjs/dist/esm/internal/operators/finalize.js
Jeremy Nusser 0ab675d92b Initial commit... 🎉🎉🎉
2022-10-28 17:20:35 -05:00

12 lines
No EOL
300 B
JavaScript

import { operate } from '../util/lift';
export function finalize(callback) {
return operate((source, subscriber) => {
try {
source.subscribe(subscriber);
}
finally {
subscriber.add(callback);
}
});
}
//# sourceMappingURL=finalize.js.map