异步调用操作。
Namespace:System.Reactive.Linq
装配: System.Reactive.dll) 中的 System.Reactive (
语法
'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<单元>
异步操作。