You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
597 B
15 lines
597 B
2 years ago
|
"use strict";
|
||
|
var finalize_1 = require('../operators/finalize');
|
||
|
/**
|
||
|
* Returns an Observable that mirrors the source Observable, but will call a specified function when
|
||
|
* the source terminates on complete or error.
|
||
|
* @param {function} callback Function to be called when source terminates.
|
||
|
* @return {Observable} An Observable that mirrors the source, but will call the specified function on termination.
|
||
|
* @method finally
|
||
|
* @owner Observable
|
||
|
*/
|
||
|
function _finally(callback) {
|
||
|
return finalize_1.finalize(callback)(this);
|
||
|
}
|
||
|
exports._finally = _finally;
|
||
|
//# sourceMappingURL=finally.js.map
|