Skip to content

TaskObservationOptions.Scheduler property

Defined in

Type: TaskObservationOptions Namespace: System.Reactive.Concurrency Assembly: System.Reactive.dll

Applies to

netstandard2.0

public IScheduler? Scheduler { get; }

Summary: Gets the optional scheduler to use when delivering notifications of the tasks's progress.

Returns: IScheduler?

Remarks

If this is null, the behaviour depends on whether the task has already completed. If the task has finished, the relevant completion or error notifications will be delivered via Instance. If the task is still running (or not yet started) at the instant at which it is observed through Rx, no scheduler will be used if this property is null.