WebWorker as separate crate #8072
Labels
design limitation
something that can't be fixed or is too hard to fix
suggestion
suggestions for new features (yet to be agreed)
As mentioned in #7928 I'm creating a plugin system where JS/TS/WASM plugins are written using the
WebWorker
interface so they run unchanged in the browser or server. I know this can be done on top of deno-core but ideally deno exposes a crate that "installs" the required APIs to the JS runtime(I'm completely sure how it works but something like deno-fetch?), since this is pretty much done already on deno cli package I hope it wouldn't be a big trouble?Some pointers on how to create this "
webworker-rs
" crate would be helpful, I'd like to get to the point where I just do something similar as with the browserlet handler = WebWorker::new("plugin.js")
and a ES modules based plugin is automagically loaded and everything just works. Of course even better would be a brave heart that jumps directly into creating this awesome crate 😅The text was updated successfully, but these errors were encountered: