API Reference wasmex v0.9.2

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. This is the main module, providing most of the needed API to run Wasm binaries.

An Engine which is a global context for compilation and management of Wasm modules.

Instantiates a Wasm module and allows calling exported functions on it.

Memory is a linear array of bytes to store Wasm values. The Memory module provides functions to read and write to this array.

A compiled WebAssembly module.

A Pipe is a memory buffer that can be used in exchange for a Wasm file.

A Store is a collection of Wasm instances and host-defined state.

Configures limits to limit resource creation within a Wasmex.Store.

Either a Wasmex.Store or "Caller" for imported functions.

Options for preopening a directory.

Configures WASI support for a Wasmex.Store.