The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

CurrentThreadScheduler Class

CurrentThreadScheduler Class

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

Inheritance Hierarchy

System.Object
  System.Reactive.Concurrency.CurrentThreadScheduler

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

Syntax

'Declaration
Public NotInheritable Class CurrentThreadScheduler _
    Implements IScheduler
'Usage
Dim instance As CurrentThreadScheduler
public sealed class CurrentThreadScheduler : IScheduler
public ref class CurrentThreadScheduler sealed : IScheduler
[<SealedAttribute>]
type CurrentThreadScheduler =  
    class
        interface IScheduler
    end
public final class CurrentThreadScheduler implements IScheduler

The CurrentThreadScheduler type exposes the following members.

Properties

NameDescriptionPublic propertyNowGets the scheduler's notion of current time.Public propertyScheduleRequiredGets a value indicating whether the caller must call a schedule method.Top

Methods

NameDescriptionPublic methodEquals(Inherited from Object.)Protected methodFinalize(Inherited from Object.)Public methodGetHashCode(Inherited from Object.)Public methodGetType(Inherited from Object.)Protected methodMemberwiseClone(Inherited from Object.)Public methodSchedule(TState, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed.Public methodSchedule(TState, DateTimeOffset, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed at dueTime.Public methodSchedule(TState, TimeSpan, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed after dueTime.Public methodToString(Inherited from Object.)Top

Extension Methods

NameDescriptionPublic Extension MethodEnsureTrampoline(Defined by Extensions.)Public Extension MethodSchedule(Action)Overloaded. Schedules an action to be executed. (Defined by Scheduler.)Public Extension MethodSchedule(Action)Overloaded. Schedules an action to be executed recursively. (Defined by Scheduler.)Public Extension MethodSchedule(TimeSpan, Action)Overloaded. Schedules an action to be executed after dueTime. (Defined by Scheduler.)Public Extension MethodSchedule(DateTimeOffset, Action)Overloaded. Schedules an action to be executed at dueTime. (Defined by Scheduler.)Public Extension MethodSchedule(TimeSpan, Action<Action>)Overloaded. Schedules an action to be executed recursively after each dueTime. (Defined by Scheduler.)Public Extension MethodSchedule(DateTimeOffset, Action<Action>)Overloaded. Schedules an action to be executed after dueTime. (Defined by Scheduler.)Public Extension MethodSchedule(TState, Action<TState, Action>)Overloaded. Schedules an action to be executed recursively. (Defined by Scheduler.)Public Extension MethodSchedule(TState, TimeSpan, Action<TState, Action<TState, TimeSpan>>)Overloaded. Schedules an action to be executed recursively after each dueTime. (Defined by Scheduler.)Public Extension MethodSchedule(TState, DateTimeOffset, Action<TState, Action<TState, DateTimeOffset>>)Overloaded. Schedules an action to be executed recursively at each dueTime. (Defined by Scheduler.)Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Reactive.Concurrency Namespace

CurrentThreadScheduler Properties

Include Protected Members
Include Inherited Members

The CurrentThreadScheduler type exposes the following members.

Properties

NameDescriptionPublic propertyNowGets the scheduler's notion of current time.Public propertyScheduleRequiredGets a value indicating whether the caller must call a schedule method.Top

See Also

Reference

CurrentThreadScheduler Class

System.Reactive.Concurrency Namespace

CurrentThreadScheduler Methods

Include Protected Members
Include Inherited Members

The CurrentThreadScheduler type exposes the following members.

Methods

NameDescriptionPublic methodEquals(Inherited from Object.)Protected methodFinalize(Inherited from Object.)Public methodGetHashCode(Inherited from Object.)Public methodGetType(Inherited from Object.)Protected methodMemberwiseClone(Inherited from Object.)Public methodSchedule(TState, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed.Public methodSchedule(TState, DateTimeOffset, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed at dueTime.Public methodSchedule(TState, TimeSpan, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed after dueTime.Public methodToString(Inherited from Object.)Top

Extension Methods

NameDescriptionPublic Extension MethodEnsureTrampoline(Defined by Extensions.)Public Extension MethodSchedule(Action)Overloaded. Schedules an action to be executed. (Defined by Scheduler.)Public Extension MethodSchedule(Action)Overloaded. Schedules an action to be executed recursively. (Defined by Scheduler.)Public Extension MethodSchedule(TimeSpan, Action)Overloaded. Schedules an action to be executed after dueTime. (Defined by Scheduler.)Public Extension MethodSchedule(DateTimeOffset, Action)Overloaded. Schedules an action to be executed at dueTime. (Defined by Scheduler.)Public Extension MethodSchedule(TimeSpan, Action<Action>)Overloaded. Schedules an action to be executed recursively after each dueTime. (Defined by Scheduler.)Public Extension MethodSchedule(DateTimeOffset, Action<Action>)Overloaded. Schedules an action to be executed after dueTime. (Defined by Scheduler.)Public Extension MethodSchedule(TState, Action<TState, Action>)Overloaded. Schedules an action to be executed recursively. (Defined by Scheduler.)Public Extension MethodSchedule(TState, TimeSpan, Action<TState, Action<TState, TimeSpan>>)Overloaded. Schedules an action to be executed recursively after each dueTime. (Defined by Scheduler.)Public Extension MethodSchedule(TState, DateTimeOffset, Action<TState, Action<TState, DateTimeOffset>>)Overloaded. Schedules an action to be executed recursively at each dueTime. (Defined by Scheduler.)Top

See Also

Reference

CurrentThreadScheduler Class

System.Reactive.Concurrency Namespace