Qbservable.Latest(IQbservable) method¶
Defined in
Type: Qbservable
Namespace: System.Reactive.Linq
Assembly: System.Reactive.dll
Applies to
netstandard2.0
public static IQueryable<TSource> Latest<TSource>(this IQbservable<TSource> source)
Summary: Returns an enumerable sequence whose enumeration returns the latest observed element in the source observable sequence. Enumerators on the resulting sequence will never produce the same element repeatedly, and will block until the next element becomes available.
Type parameters
| Name | Description |
|---|---|
TSource | The type of the elements in the source sequence. |
Parameters
| Name | Type | Description |
|---|---|---|
source | [IQbservable | Source observable sequence. |
Returns: IQueryable
Remarks
This operator requires the source's IQbservableProvider object (see Provider) to implement IQueryProvider.