WASIComponentCanonicalAdapterHost class final
Host for executable canonical lift/lower adapter operations.
This is the first executable adapter boundary. It intentionally supports
only synchronous value signatures backed by the shared Canonical ABI value
codec or canonical u32 handle layouts. Direct invocations can pass
own/borrow resource handles and error-context handles as canonical
u32 scalars; memory-backed invocations use the same canonical u32
handle representation. Async adapters reuse the same codecs through the
explicit asynchronous invocation entrypoints. Resource table ownership,
borrow, and drop behavior remains a higher-level host concern.
Constructors
- WASIComponentCanonicalAdapterHost()
-
Creates a canonical adapter host.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
bindAdapterPlans(
Iterable< WASIComponentCanonicalAdapterPlan> plans, {Map<int, WASIComponentCanonicalAdapterCallback> coreFunctions = const <int, WASIComponentCanonicalAdapterCallback>{}, Map<int, WASIComponentCanonicalAdapterCallback> componentFunctions = const <int, WASIComponentCanonicalAdapterCallback>{}}) → WASIComponentCanonicalAdapterProgram -
Binds adapter
plansagainst decoded core/component function indexes. -
bindLiftCoreFunction(
WASIComponentCanonicalAdapterPlan plan, WASIComponentCanonicalAdapterCallback coreFunction) → WASIComponentCanonicalAdapterOperation -
Binds a canonical
liftplan to the core function it wraps. -
bindLowerComponentFunction(
WASIComponentCanonicalAdapterPlan plan, WASIComponentCanonicalAdapterCallback componentFunction) → WASIComponentCanonicalAdapterOperation -
Binds a canonical
lowerplan to the component function it wraps. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited