developit / greenlet

🦎 Move an async function into its own thread.
https://npm.im/greenlet
4.67k stars 100 forks source link

support module workers? #58

Open mayank99 opened 5 months ago

mayank99 commented 5 months ago

Currently the worker is always created in classic mode. Since firefox now supports module workers, it would be nice to have the option for it in greenlet. It would open up some useful functionality, like dynamic imports.

I can submit a PR if this sounds desirable.