Observable.Empty<TResult> Method (IScheduler)

Returns an empty observable sequence with the specified scheduler.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive (in System.Reactive.dll)


Public Shared Function Empty(Of TResult) ( _
    scheduler As IScheduler _
) As IObservable(Of TResult)
Dim scheduler As IScheduler
Dim returnValue As IObservable(Of TResult)

returnValue = Observable.Empty(scheduler)
public static IObservable<TResult> Empty<TResult>(
    IScheduler scheduler
generic<typename TResult>
static IObservable<TResult>^ Empty(
    IScheduler^ scheduler
static member Empty : 
        scheduler:IScheduler -> IObservable<'TResult> 
JScript does not support generic types and methods.

Type Parameters

  • TResult
    The type of result.


Return Value

Type: System.IObservable<TResult>
The observable sequence with no elements.

See Also


Observable Class

Empty Overload

System.Reactive.Linq Namespace