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)
Syntax
'Declaration
Public Shared ReadOnly Property CurrentThread As CurrentThreadScheduler
Get
'Usage
Dim value As CurrentThreadScheduler
value = Scheduler.CurrentThread
public static CurrentThreadScheduler CurrentThread { get; }
public:
static property CurrentThreadScheduler^ CurrentThread {
CurrentThreadScheduler^ get ();
}
static member CurrentThread : CurrentThreadScheduler
static function get CurrentThread () : CurrentThreadScheduler
Property Value
Type: System.Reactive.Concurrency.CurrentThreadScheduler
The current thread scheduler.
Remarks
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.