Skip to main content

PreferManagedThreadDispatcher Property

Defines if Avalonia should create a controlled dispatcher loop on the web worker thread. If used only when WasmEnableThreads is set to true. Default value is true.

Definition​

Namespace: Avalonia.Browser
Assembly: Avalonia.Browser (in Avalonia.Browser.dll)

public bool? PreferManagedThreadDispatcher { get; set; }

Property Value​

Nullable(Boolean)

See Also​

Reference​

BrowserPlatformOptions Class
Avalonia.Browser Namespace