DispatcherOptionsInputStarvationTimeout Property
Gets or sets a timeout after which the dispatcher will start prioritizing input events over
rendering. The default value is 1 second.
Namespace: Avalonia.ThreadingAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public TimeSpan InputStarvationTimeout { get; set; }
Public Property InputStarvationTimeout As TimeSpan
Get
Set
member InputStarvationTimeout : TimeSpan with get, set
Property Value
TimeSpan
If no input events are processed within this time, the dispatcher will start prioritizing
input events over rendering to prevent the application from becoming unresponsive. This may
need to be lowered on resource-constrained platforms where input events are processed on
the same thread as rendering.