UNPKG

rxjs

Version:

Reactive Extensions for modern JavaScript

12 lines 300 B
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