1 import { OperatorFunction } from '../types';
3 * Ignores all items emitted by the source Observable and only passes calls of `complete` or `error`.
5 * ![](ignoreElements.png)
8 * ### Ignores emitted values, reacts to observable's completion.
10 * import { of } from 'rxjs';
11 * import { ignoreElements } from 'rxjs/operators';
13 * of('you', 'talking', 'to', 'me').pipe(
17 * word => console.log(word),
18 * err => console.log('error:', err),
19 * () => console.log('the end'),
24 * @return {Observable} An empty Observable that only calls `complete`
25 * or `error`, based on which one is called by the source Observable.
26 * @method ignoreElements
29 export declare function ignoreElements(): OperatorFunction<any, never>;