Interface IPlatformThreadingInterface
Provides platform-specific services relating to threading.
[PrivateApi]
public interface IPlatformThreadingInterface
Properties
CurrentThreadIsLoopThread
bool CurrentThreadIsLoopThread { get; }
Property Value
Methods
Signal(DispatcherPriority)
void Signal(DispatcherPriority priority)
Parameters
priority
DispatcherPriority
StartTimer(DispatcherPriority, TimeSpan, Action)
Starts a timer.
IDisposable StartTimer(DispatcherPriority priority, TimeSpan interval, Action tick)
Parameters
priority
DispatcherPriorityinterval
TimeSpanThe interval.
tick
ActionThe action to call on each tick.
Returns
- IDisposable
An IDisposable used to stop the timer.
Events
Signaled
event Action<DispatcherPriority?>? Signaled