Code module loaded as webworker

Hello,

I’m trying to load one of my code modules as a WebWorker by using the loadType parameter set to webworker, but the code module’s code just get inserted into code.js, as any other regular code module.

Is this feature just broken or am I not using it correctly?

Thanks
Ricardo

I don’t think the webworker loadType actually does anything. It’s just included for completeness.

Have a look at WebWorker sample to see how they work in AppStudio.

Thanks.No worries, I was able to optimize my code and (for now) I don’t need to send calculations to a worker to prevent the GUI from going unresponsive.

The sample clarifies the option to obfuscate it as well, which is good (didn’t try, though :slight_smile:)

BR
Ricardo