If you're interested in leveraging web workers easily for repetitive compute-heavy tasks in a webapp, i've built a little library that takes care of launching and managing worker threads for you: https://github.com/GitSquared/rinzler
By the way, I built something similar (?): A Rust library that mimics the API of the `futures-executor` crate, but each worker thread is a single WebWorker.
wngr|4 years ago
wngr|4 years ago
https://github.com/wngr/wasm-futures-executor