developit / workerize

🏗️ Run a module in a Web Worker.
https://github.com/developit/workerize-loader
4.35k stars 91 forks source link

Try async-proxy module #1

Closed BlackGlory closed 6 years ago

BlackGlory commented 6 years ago

This project is very similar to my worker-sandbox, so I think you probably can use async-proxy module to make the code look clearer.

developit commented 6 years ago

Hmm - that seems to rely on Reflect, and pull in quite a lot of polyfills from babel-polyfill. Workerize is intended to be a bare-minimum solution and most of the code is just setting up RPC.