)>
Defined in Type: Scheduler
Namespace: System.Reactive.Concurrency
Assembly: System.Reactive.dll
Applies to
netstandard2.0
public static IDisposable ScheduleLongRunning(this ISchedulerLongRunning scheduler, Action<ICancelable> action)
Summary: Schedules an action to be executed.
Parameters
| Name | Type | Description |
|---|---|---|
scheduler | [ISchedulerLongRunning](# | Scheduler to execute the action on. |
action | Action | Action to execute. |
Returns: IDisposable -- The disposable object used to cancel the scheduled action (best effort).
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | scheduler or action is null. |