Hi,
Is there a way to disable Image Worker support to load images outside of the main thread?
Thanks
Hi,
Is there a way to disable Image Worker support to load images outside of the main thread?
Thanks
Hi @Hari_Krishnan, in a Blits/L3 app you can pass in the optional launch setting webWorkersLimit
, that will determine the maximum number of simultaneous web workers to be spun up.
If omitted, the available number of logical processors as reported by the browser will be used. If you pass the value 0
, it will completely disable the use of web workers for image loading.
So your launch settings could look something like this:
Blits.Launch(App, 'app', {
w: 1920,
h: 1080,
// .. other settings
webWorkersLimit: 0,
})
Thanks @michiel . Appreciate it