Expand description
§wasmrs-runtime
wasmrs-runtime is a set of structs and functions that are normalized across multithreaded native tokio and single-threaded WebAssembly using whatever the smallest, fastest, single threaded, async, WebAssembly-compatible runtime of the day is.
§Notice!
You’re better off not relying on this crate. It’s a crate that exists only for as long as it needs to. As WebAssembly matures and there are more standard solutions for the problems this crate solves, this crate will be deprecated.
§More Info
For more information on wasmRS, see the core wasmrs crate.
WasmRS makes heavy use of generated code from apex
specs and generators to automate all of the boilerplate. See the getting-started for usage.
§Contributing
See CONTRIBUTING.md
§License
See the root LICENSE.txt
Structs§
- MutRc
- Occupied
Entry - OneShot
Receiver - A OneShort Receiver that works the same way in single-threaded WebAssembly as multi-threaded native.
- OneShot
Sender - A Unbounded Sender that works the same way in single-threaded WebAssembly as multi-threaded native.
- Optional
Mut - SafeMap
- Unbounded
Receiver - A Unbounded Receiver that works the same way in single-threaded WebAssembly as multi-threaded native.
- Unbounded
Sender - A Unbounded Sender that works the same way in single-threaded WebAssembly as multi-threaded native.
- Vacant
Entry
Enums§
Traits§
Functions§
- exhaust_
pool - oneshot
- A oneshot channel similar to tokio::sync::oneshot::channel but works the same way in single-threaded WebAssembly as multi-threaded native.
- spawn
- unbounded_
channel - Create an unbounded channel.