Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns an empty observable sequence with the specified scheduler.
Namespace: System.Reactive.Linq
Assembly: System.Reactive (in System.Reactive.dll)
Syntax
'Declaration
Public Shared Function Empty(Of TResult) ( _
scheduler As IScheduler _
) As IObservable(Of TResult)
'Usage
Dim scheduler As IScheduler
Dim returnValue As IObservable(Of TResult)
returnValue = Observable.Empty(scheduler)
public static IObservable<TResult> Empty<TResult>(
IScheduler scheduler
)
public:
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.
Parameters
- scheduler
Type: System.Reactive.Concurrency.IScheduler
The scheduler to send the termination call.
Return Value
Type: System.IObservable<TResult>
The observable sequence with no elements.