Skip to content

ThreadPoolScheduler class

Defined in

Namespace: System.Reactive.Concurrency Assembly: System.Reactive.dll Full name: System.Reactive.Concurrency.ThreadPoolScheduler Modifiers: public sealed

Summary

        Represents an object that schedules units of work on the CLR thread pool.
        

Applies to

netstandard2.0

Class hierarchy
classDiagram
class ThreadPoolScheduler
class LocalScheduler
LocalScheduler <|-- ThreadPoolScheduler
class ISchedulerLongRunning {
    <>
}
ISchedulerLongRunning <|.. ThreadPoolScheduler
class ISchedulerPeriodic {
    <>
}
ISchedulerPeriodic <|.. ThreadPoolScheduler

Inherits from: LocalScheduler

Implements: ISchedulerLongRunning, ISchedulerPeriodic

Properties

NameSummary
static InstanceGets the singleton instance of the CLR thread pool scheduler.

Methods

NameSummary
ScheduleSchedules an action to be executed.
ScheduleLongRunningSchedules a long-running task by creating a new thread. Cancellation happens through polling.
StartStopwatchStarts a new stopwatch object.
SchedulePeriodicSchedules a periodic piece of work, using a System.Threading.Timer object.
Inherited members

See also