Expand description
§Shared Channel for WebAssembly
This crate provides a way for WebAssembly threads to receive messages from other threads using
a JavaScript primitive called SharedArrayBuffer which allows to share memory and use atomics
between different threads.
This allows us to deploy Rust code as a worker process communicating with the main thread.
Modules§
- spsc
- Single Publisher Single Consumer Channel
Structs§
- Expects
Shareable::fromindicates that it needs at leastnbytes to proceed
Traits§
- Shareable
- Any type that can be sent through a shared channel must implement this