Observable.Never() method¶
Defined in
Type: Observable
Namespace: System.Reactive.Linq
Assembly: System.Reactive.dll
Applies to
netstandard2.0
Overloads¶
- 1.
public static IObservable<TResult> Never<TResult>() - 2.
public static IObservable<TResult> Never<TResult>(TResult witness)
1. Overload¶
public static IObservable<TResult> Never<TResult>()
Summary: Returns a non-terminating observable sequence, which can be used to denote an infinite duration (e.g. when using reactive joins).
Type parameters
| Name | Description |
|---|---|
TResult | The type used for the IObservable type parameter of the resulting sequence. |
Returns: IObservable
2. Overload¶
public static IObservable<TResult> Never<TResult>(TResult witness)
Summary: Returns a non-terminating observable sequence, which can be used to denote an infinite duration (e.g. when using reactive joins).
Type parameters
| Name | Description |
|---|---|
TResult | The type used for the IObservable type parameter of the resulting sequence. |
Parameters
| Name | Type | Description |
|---|---|---|
witness | TResult | Object solely used to infer the type of the TResult type parameter. This parameter is typically used when creating a sequence of anonymously typed elements. |
Returns: IObservable