Skip to main content

core.useWorkers

since 0.9.6
core.useWorkersJavaScriptuseWorkersJavaScriptcore.useWorkersJSONuseWorkersJSONCore.UseWorkers.netcore.useWorkersAndroid

Description​

Whether the rendering should be done in a worker if possible. AlphaTab normally tries to render the music sheet asynchronously in a worker. This reduces the load on the UI side and avoids hanging. However sometimes it might be more desirable to have a synchronous rendering behavior. This setting can be set to false to synchronously render the music sheet on the UI side.

useWorkers: boolean = true;