WebAssembly.Module
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.
class Module {}
constructor(bytes: BufferSource);
§Constructors
§
new Module(bytes: BufferSource)
[src]Creates a new Module
object.
§Static Methods
§
exports(moduleObject: Module): ModuleExportDescriptor[]
[src]Given a Module
, returns an array containing descriptions of all the declared exports.
§
imports(moduleObject: Module): ModuleImportDescriptor[]
[src]Given a Module
, returns an array containing descriptions of all the declared imports.