Class IgnoreElementsOperator
Implements the IgnoreElements operator. Mirrors rxjs's ignoreElements.
public static class IgnoreElementsOperator
- Inheritance
-
System.ObjectIgnoreElementsOperator
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
sourceObservable<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
sourcedoes.
Type Parameters
TThe element type of the source observable.
Remarks
Useful when only the termination of source matters, not the values it produces.