Table of Contents

Class IgnoreElementsOperator

Namespace
RxSharp.Operators
Assembly
RxSharp.dll

Implements the IgnoreElements operator. Mirrors rxjs's ignoreElements.

public static class IgnoreElementsOperator
Inheritance
System.Object
IgnoreElementsOperator

Methods

IgnoreElements<T>(Observable<T>)

Suppresses every value emitted by source, forwarding only its completion or error notification.

public static Observable<T> IgnoreElements<T>(this Observable<T> source)

Parameters

source Observable<T>

The source observable whose values should be ignored.

Returns

Observable<T>

An observable that never emits a value, but completes or errors exactly when source does.

Type Parameters

T

The element type of the source observable.

Remarks

Useful when only the termination of source matters, not the values it produces.