Skip to content

Qbservable.Never(IQbservableProvider) method

Defined in

Type: Qbservable Namespace: System.Reactive.Linq Assembly: System.Reactive.dll

Applies to

netstandard2.0

Overloads

  • 1. public static IQbservable<TResult> Never<TResult>(this IQbservableProvider provider)
  • 2. public static IQbservable<TResult> Never<TResult>(this IQbservableProvider provider, TResult witness)

1. Overload

public static IQbservable<TResult> Never<TResult>(this IQbservableProvider provider)

Summary: Returns a non-terminating observable sequence, which can be used to denote an infinite duration (e.g. when using reactive joins).

Type parameters

NameDescription
TResultThe type used for the IObservable type parameter of the resulting sequence.

Parameters

NameTypeDescription
provider[IQbservableProvider](#Query provider used to construct the [IQbservable](# data source.

Returns: IQbservable -- An observable sequence whose observers will never get called.

2. Overload

public static IQbservable<TResult> Never<TResult>(this IQbservableProvider provider, 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

NameDescription
TResultThe type used for the IObservable type parameter of the resulting sequence.

Parameters

NameTypeDescription
provider[IQbservableProvider](#Query provider used to construct the [IQbservable](# data source.
witnessTResultObject 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: IQbservable -- An observable sequence whose observers will never get called.