ignoreElements.js 601 B

123456789101112131415161718
  1. "use strict";
  2. var ignoreElements_1 = require('../operators/ignoreElements');
  3. /**
  4. * Ignores all items emitted by the source Observable and only passes calls of `complete` or `error`.
  5. *
  6. * <img src="./img/ignoreElements.png" width="100%">
  7. *
  8. * @return {Observable} An empty Observable that only calls `complete`
  9. * or `error`, based on which one is called by the source Observable.
  10. * @method ignoreElements
  11. * @owner Observable
  12. */
  13. function ignoreElements() {
  14. return ignoreElements_1.ignoreElements()(this);
  15. }
  16. exports.ignoreElements = ignoreElements;
  17. ;
  18. //# sourceMappingURL=ignoreElements.js.map