addImport abstract method

WasmInstanceBuilder addImport(
  1. String moduleName,
  2. String name,
  3. WasmExternal value
)

Adds a new import to the module. May throw if the import is not found or the type definition does not match value.

Implementation

WasmInstanceBuilder addImport(
  String moduleName,
  String name,
  WasmExternal value,
);