Observable.Start, méthode (Action, IScheduler)
Appelle l’action de manière asynchrone.
Espace de noms :System.Reactive.Linq
Assemblée: System.Reactive (en System.Reactive.dll)
Syntaxe
'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>
Paramètres
- action
Type : System.Action
Action utilisée pour la synchronisation.
- scheduler
Type : System.Reactive.Concurrency.IScheduler
Planificateur utilisé pour la synchronisation.
Valeur de retour
Type : Unité System.IObservable<>
Action de manière asynchrone.