项目原始demo,不改动
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 

15 rivejä
597 B

  1. "use strict";
  2. var finalize_1 = require('../operators/finalize');
  3. /**
  4. * Returns an Observable that mirrors the source Observable, but will call a specified function when
  5. * the source terminates on complete or error.
  6. * @param {function} callback Function to be called when source terminates.
  7. * @return {Observable} An Observable that mirrors the source, but will call the specified function on termination.
  8. * @method finally
  9. * @owner Observable
  10. */
  11. function _finally(callback) {
  12. return finalize_1.finalize(callback)(this);
  13. }
  14. exports._finally = _finally;
  15. //# sourceMappingURL=finally.js.map