6 ms·
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 a
by _squared_ 5y ago
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 https://github.com/GitSquared/rinzler
- wngr 5y agoNice. Do you also support SharedArrayBuffers or does everything need to be serializable that is sent to/from WebWorkers?
- wngr 5y agoBy 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. https://github.com/wngr/wasm-futures-executor https://github.com/wngr/wasm-futures-executor