Summary
Starts a timer.
- Namespace
- Avalonia
.Platform - Containing Type
- I
Platform Threading Interface
Syntax
IDisposable StartTimer(DispatcherPriority priority, TimeSpan interval, Action tick)
Parameters
Name | Type | Description |
---|---|---|
priority | DispatcherPriority | |
interval | TimeSpan | The interval. |
tick | Action | The action to call on each tick. |
Return Value
Type | Description |
---|---|
IDisposable | An IDisposable used to stop the timer. |