.
This commit is contained in:
12
node_modules/rxjs/dist/esm5/internal/operators/finalize.js
generated
vendored
Normal file
12
node_modules/rxjs/dist/esm5/internal/operators/finalize.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import { operate } from '../util/lift';
|
||||
export function finalize(callback) {
|
||||
return operate(function (source, subscriber) {
|
||||
try {
|
||||
source.subscribe(subscriber);
|
||||
}
|
||||
finally {
|
||||
subscriber.add(callback);
|
||||
}
|
||||
});
|
||||
}
|
||||
//# sourceMappingURL=finalize.js.map
|
||||
Reference in New Issue
Block a user