skpm / sketch-module-web-view

A sketch module for creating an complex UI with a webview
MIT License
289 stars 62 forks source link

Web Worker support #152

Open mark-at-pieces opened 4 years ago

mark-at-pieces commented 4 years ago

I noticed that after reading both the browser-window.md within this repo and electron's documentation for their browser window both of you have an option called webPreferences. However on the electrons documentation that have another sub option called nodeIntegrationInWorker that allows for web worker support. I didn't see any additional options on the sketch-module-web-view that allows use of Web Workers. I was wondering if I am missing something.

Q1 Does the sketch-module-web-view support web workers? Q2 If not, do you know of any work arounds?

fendouxiaohaier commented 2 years ago

How do you use web worker