#worker #web #worker-thread

web_worker

A simple crate implementing web workers to run rayon-styled concurrent work on wasm

3 releases (breaking)

0.3.0 Jul 21, 2020
0.2.0 Jan 1, 2020
0.1.0 Jul 24, 2019

#963 in WebAssembly

24 downloads per month

MPL-2.0 license

18KB
224 lines

Web Worker

Rayon-like worker thread pool. Heavily inspired and based on the works of Alex Crichton (I only adapted his code to be reusable outside of the wasm-bindgen crate.)

Original example


lib.rs:

Utilities to work with web workers and rayon.

Dependencies

~13MB
~226K SLoC