ignoreElments
operator use for ignoring all emitted values and just contemplate complete
and error
import { interval } from 'rxjs';
import { ignoreElements, take } from 'rxjs/operators';
const source$ = interval(1000).pipe(take(4));
const result$ = source$.pipe(ignoreElements());
Official Doc: rxjs.ignoreElements