Skip to content

)}

Qbservable.Next(IQbservable) method

Defined in

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

Applies to

netstandard2.0

public static IQueryable<TSource> Next<TSource>(this IQbservable<TSource> source)

Summary: Returns an enumerable sequence whose enumeration blocks until the next element in the source observable sequence becomes available. Enumerators on the resulting sequence will block until the next element becomes available.

Type parameters

NameDescription
TSourceThe type of the elements in the source sequence.

Parameters

NameTypeDescription
source[IQbservable](#Source observable sequence.

Returns: IQueryable -- The enumerable sequence that blocks upon each iteration until the next element in the observable source sequence becomes available.

Remarks

This operator requires the source's IQbservableProvider object (see Provider) to implement IQueryProvider.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource is null.