comlink-loader
comlink-loader copied to clipboard
Webpack loader to offload modules to Worker threads seamlessly using Comlink.
For my project I have a WASM (Rust based) module imported as a package using `wasm-pack`. In the regular (non-Web Worker) workflow the package works just fine, but when I...
I was using this package to offload some CPU intensive calculations and stop browsers from saying the tab had crashed, and it was all working absolutely fine when hosting the...
It seems that webpack 5 in production mode breaks the singleton mode (that was working fine for webpack 4). It throws an error that `__webpack_exports__ is not defined` . In...
`async` functions can't return primitives, anything that gets returned must be wrapped in a promise.
Hi, is there anyway to use callback or send message from worker to main thread with comlink-loader? I have an interval function run in worker, I want to send a...
They seem to be solving the same problem if I understand correctly, though I'm likely not. thanks in advance.
Hey - I'm using customize-cra and react-app-rewired to override the webpack config usually abstracted away in a create-react-app. I'm importing the random-int package to the worker file - which is...
I tried looking at the code but somehow I'm not sure how to revise the implementation a bit with support for SharedWorker. There is some material here that might help....
I have added ` import 'proxy-polyfill/proxy.min.js' import 'core-js/stable' import 'regenerator-runtime/runtime'` to my worker file. However, it does not work properly and still get two error messages in IE11: Symbol is...