Default
Default
In-browser search
Settings
Wasmex.Components.Component
(wasmex v0.14.0)
A WebAssembly Component that can be instantiated.
Components are compiled WebAssembly modules that follow the Component Model specification.
They define imports and exports using WIT (WebAssembly Interface Types).
Summary
Compiles a new WebAssembly component from bytes.
Types
@type t() :: %Wasmex.Components.Component{reference: reference (), resource: binary ()}
Functions
Compiles a new WebAssembly component from bytes.
Parameters store - The store to compile the component forbytes - Raw WebAssembly component bytesReturns {:ok, component} on success{:error, reason} on failure