WasmStore class final

The arena that WebAssembly objects are allocated in.

Constructors

WasmStore(WasmEngine engine)

Properties

context → Pointer<wasmtime_context_t>
The wasmtime_context_t every C API call in this store takes.
no setter
engine → WasmEngine
final
fuel ↔ int?
The remaining fuel, or null when fuel consumption is not configured.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
isDisposed → bool
Whether the native object has already been released.
no setterinherited
pointer → Pointer<wasmtime_store_t>
The native pointer, for use by the layers above.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkNotDisposed() → void
Throws a StateError if this object has been disposed.
inherited
collectGarbage() → void
Runs a garbage collection over this store's reference values.
disown() → void
Gives up ownership without releasing the object.
inherited
dispose() → void
Releases the native object. Idempotent.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retain(void releaser()) → void
Keeps releaser's captured resources alive until this store is disposed.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited