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
- action
Type: System.Action
The action used to synchronization.
- scheduler
Type: System.Reactive.Concurrency.IScheduler
The scheduler used to synchronization.
Return Value
Type: System.IObservable<Unit>
The action asynchronously.