Rx.Observable.prototype.ignoreElements()

Ignores all elements in an observable sequence leaving only the termination messages.

Returns

(Observable): An empty observable sequence that signals termination, successful or exceptional, of the source sequence.

Example