WASIPreview2CommandRunner class final

Executes WASI Preview2 wasi:cli/command components on the native backend.

Constructors

WASIPreview2CommandRunner(WASIPreview2ComponentHost host)
Creates a command runner over host.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
host → WASIPreview2ComponentHost
Preview2 host used for standard WASI imports and canonical state.
final
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
run(WasmComponent component) → Future<WASIPreview2CommandResult>
Instantiates component and invokes its exported wasi:cli/run.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited