Class NSRunloopScheduler
- Namespace
- ReactiveUI
- Assembly
- ReactiveUI.dll
Provides a scheduler which will use the Cocoa main loop to schedule work on. This is the Cocoa equivalent of DispatcherScheduler.
public class NSRunloopScheduler : Object, IScheduler
- Inheritance
-
NSRunloopScheduler
- Implements
-
IScheduler
- Extension Methods
Constructors
NSRunloopScheduler()
public NSRunloopScheduler()
Properties
Now
public DateTimeOffset Now { get; }
Property Value
Methods
Schedule<TState>(TState, DateTimeOffset, Func<IScheduler, TState, IDisposable>)
public IDisposable Schedule<TState>(TState state, DateTimeOffset dueTime, Func<IScheduler, TState, IDisposable> action)
Parameters
state
TStatedueTime
DateTimeOffsetaction
Func<IScheduler, TState, IDisposable>
Returns
Type Parameters
TState
Schedule<TState>(TState, Func<IScheduler, TState, IDisposable>)
public IDisposable Schedule<TState>(TState state, Func<IScheduler, TState, IDisposable> action)
Parameters
state
TStateaction
Func<IScheduler, TState, IDisposable>
Returns
Type Parameters
TState
Schedule<TState>(TState, TimeSpan, Func<IScheduler, TState, IDisposable>)
public IDisposable Schedule<TState>(TState state, TimeSpan dueTime, Func<IScheduler, TState, IDisposable> action)
Parameters
state
TStatedueTime
TimeSpanaction
Func<IScheduler, TState, IDisposable>
Returns
Type Parameters
TState