项目原始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.
 
 
 
 

13 lines
489 B

  1. import { MonoTypeOperatorFunction } from '../interfaces';
  2. /**
  3. * Ignores all items emitted by the source Observable and only passes calls of `complete` or `error`.
  4. *
  5. * <img src="./img/ignoreElements.png" width="100%">
  6. *
  7. * @return {Observable} An empty Observable that only calls `complete`
  8. * or `error`, based on which one is called by the source Observable.
  9. * @method ignoreElements
  10. * @owner Observable
  11. */
  12. export declare function ignoreElements<T>(): MonoTypeOperatorFunction<T>;