withHostImport
open override fun withHostImport(interfaceName: String?, functionName: String?, handler: HostHandler): WasmPlugin.Builder
Deprecated
Use withWitHostImport(WitHostImportId, handler) for an exact WIT import.
Replace with
withWitHostImport(WitHostImportId(interfaceName!!, functionName!!), handler)Content copied to clipboard
Deprecated
Unqualified host imports are ambiguous; use withWitHostImport instead.