Share via


Notification<T>.ToObservable Method (IScheduler)

Returns an observable sequence with a single notification.

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

Syntax

'Declaration
Public Function ToObservable ( _
    scheduler As IScheduler _
) As IObservable(Of T)
'Usage
Dim instance As Notification
Dim scheduler As IScheduler
Dim returnValue As IObservable(Of T)

returnValue = instance.ToObservable(scheduler)
public IObservable<T> ToObservable(
    IScheduler scheduler
)
public:
IObservable<T>^ ToObservable(
    IScheduler^ scheduler
)
member ToObservable : 
        scheduler:IScheduler -> IObservable<'T> 
public function ToObservable(
    scheduler : IScheduler
) : IObservable<T>

Parameters

Return Value

Type: System.IObservable<T>
The observable sequence that surfaces the behavior of the notification upon subscription.

See Also

Reference

Notification<T> Class

ToObservable Overload

System.Reactive Namespace