Share via


Observable.Start Method (Action, IScheduler)

Invokes the action asynchronously.

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

Syntax

'Declaration
Public Shared Function Start ( _
    action As Action, _
    scheduler As IScheduler _
) As IObservable(Of Unit)
'Usage
Dim action As Action
Dim scheduler As IScheduler
Dim returnValue As IObservable(Of Unit)

returnValue = Observable.Start(action, _
    scheduler)
public static IObservable<Unit> Start(
    Action action,
    IScheduler scheduler
)
public:
static IObservable<Unit>^ Start(
    Action^ action, 
    IScheduler^ scheduler
)
static member Start : 
        action:Action * 
        scheduler:IScheduler -> IObservable<Unit> 
public static function Start(
    action : Action, 
    scheduler : IScheduler
) : IObservable<Unit>

Parameters

Return Value

Type: System.IObservable<Unit>
The action asynchronously.

See Also

Reference

Observable Class

Start Overload

System.Reactive.Linq Namespace