Scheduler.CurrentThread Property

Gets the scheduler that schedules work as soon as possible on the current thread.

Namespace:  System.Reactive.Concurrency
Assembly:  System.Reactive (in System.Reactive.dll)

Public Shared ReadOnly Property CurrentThread As CurrentThreadScheduler
Dim value As CurrentThreadScheduler

value = Scheduler.CurrentThread

Property Value

Type: System.Reactive.Concurrency.CurrentThreadScheduler
The current thread scheduler.

The CurrentThread scheduler will schedule actions to be performed on the thread that makes the original call. The action is not executed immediately, but is placed in a queue and only executed after the current action is complete.