Freigeben über


CoreWebView2Settings.PreferredIntensiveTimerWakeInterval Property

Definition

public TimeSpan PreferredIntensiveTimerWakeInterval { get; set; }
member this.PreferredIntensiveTimerWakeInterval : TimeSpan with get, set
Public Property PreferredIntensiveTimerWakeInterval As TimeSpan

Property Value

Remarks

Intensive throttling is a substate of background state. For more details about intensive throttling, see Intensive throttling of Javascript timer wake ups.

A wake up interval is the amount of time that needs to pass before the WebView2 Runtime checks for new timer tasks to run.

The WebView2 Runtime will try to respect the preferred interval set by the application, but the effective value will be constrained by resource and platform limitations. Setting a value of 0 means a preference of 0 ms between timer wake ups. The default value is a constant determined by the running version of the WebView2 Runtime. Setting the value of this property will take effect immediately.

Applies to