Class Store
All runtime objects are tied to a specific store.
class Store
: wasmer .Handle!(wasmer.bindings.wasm_store_t)
;
The store represents all global state that can be manipulated by WebAssembly programs. It consists of the runtime representation of all instances of functions, tables, memories, and globals that have been allocated during the life time of the abstract machine.
Multiple stores can be created, but their objects cannot interact. Every store and its objects must only be accessed in a single thread.
Constructors
Name | Description |
---|---|
this
(engine)
|
Fields
Name | Type | Description |
---|---|---|
engine
|
const(Engine) |