Builder

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
fun withComponent(componentPath: Path): WasmPlugin.Builder
Link copied to clipboard
fun withComponentModule(componentBytes: ByteArray, moduleName: String): WasmPlugin.Builder
fun withComponentModule(componentPath: Path, moduleName: String): WasmPlugin.Builder
Link copied to clipboard

Grants one exact raw core WebAssembly import outside the selected WIT world.

Link copied to clipboard

Selects the engine and its memory policy atomically. Calling legacy backend setters after this method is rejected to prevent a partially overridden sandbox configuration.

Link copied to clipboard
Link copied to clipboard
open override fun withHostImport(qualifiedName: String, handler: HostHandler): WasmPlugin.Builder
open override fun withHostImport(interfaceName: String?, functionName: String?, handler: HostHandler): WasmPlugin.Builder
Link copied to clipboard

Restores pre-strict discovery for migration only.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun withResourceBudget(parallelism: Int, maxWaitables: Int): WasmPlugin.Builder
Link copied to clipboard
Link copied to clipboard

Installs a Preview 2 host with an explicit lifecycle.

Link copied to clipboard

Installs a Preview 3 host with an explicit lifecycle.

Link copied to clipboard
Link copied to clipboard