Module class
A WebAssembly.Module
object contains stateless WebAssembly code that has already been compiled
by the browser â this can be efficiently shared with Workers, and instantiated multiple times.
- Annotations
-
- @JS()
- @staticInterop
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
customSections(
Module moduleObject, String sectionName) → List< ByteBuffer> -
Given a
Module
and string, returns a copy of the contents of all custom sections in the module with the given string name. -
exports(
Module moduleObject) → List< ModuleExportDescriptor> -
Given a
Module
, returns an array containing descriptions of all the declared exports. -
imports(
Module moduleObject) → List< ModuleImportDescriptor> -
Given a
Module
, returns an array containing descriptions of all the declared imports.