API Reference Wasmex v0.5.0
Modules
Wasmex is a fast and secure WebAssembly and WASI runtime for Elixir. It enables lightweight WebAssembly containers to be run in your Elixir backend.
Used internally within Wasmex to help implement function imports.
Instantiates a WebAssembly module and allows calling exported functions on it.
A WebAssembly instance has its own memory, represented by the Wasmex.Memory
struct.
It is accessible by the Wasmex.Instance.memory/3
getter.
Contains calls that are implemented in our Rust NIF. Functions in this module are not intended to be called directly.
A Pipe is a memory buffer that can be used in exchange for a WASM file. It can be used, for example, to capture stdout/stdin/stderr of a WASI program.