aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/rxjs/dist/esm/internal/operators/finalize.js
blob: a5dd66f859d7c2996720fb3631ea5fdbc7db2886 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage