Wasm::Wasmtime::Store - Wasmtime store class
use Wasm::Wasmtime; my $store = Wasm::Wasmtime::Store->new;
WARNING: WebAssembly and Wasmtime are a moving target and the interface for these modules is under active development. Use with caution.
This class represents storage used by the WebAssembly engine.
my $store = Wasm::Wasmtime::Store->new; my $store = Wasm::Wasmtime::Store->new( $engine, # Wasm::Wasmtime::Engine );
Creates a new storage instance. If the optional Wasm::Wasmtime::Engine object isn't provided, then a new one will be created.
externrefs that are used within this store. Any
externrefs that are discovered to be unreachable by other code or objects will have their finalizers run.
my $engine = $store->engine;
Returns the Wasm::Wasmtime::Engine object for this storage object.
Graham Ollis <email@example.com>
This software is copyright (c) 2020-2022 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.