Метод Observable.Start (Action, IScheduler)
Вызывает действие асинхронно.
Пространство имен:System.Reactive.Linq
Сборки: System.Reactive (в System.Reactive.dll)
Синтаксис
'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>
Параметры
- action
Тип: System.Action
Действие, используемое для синхронизации.
- scheduler
Тип: System.Reactive.Concurrency.IScheduler
Планировщик, используемый для синхронизации.
Возвращаемое значение
Тип: System.IObservable<Unit>
Действие асинхронно.