WASIComponentCanonicalAdapterOperation class final

Executable direct value canonical adapter operation.

Properties

canonicalIndex → int
Canonical definition index.
no setter
hashCode → int
The hash code for this object.
no setterinherited
kind → WasmComponentCanonicalKind
Canonical adapter kind.
no setter
plan → WASIComponentCanonicalAdapterPlan
Adapter generation plan this operation executes.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

finishAsyncLiftResult(Object? taskResult, {Memory? memory}) → Object?
Lifts an async canonical lift result captured by task.return.
invoke(List<Object?> args) → Object?
Invokes the adapter with direct component values.
invokeAsync(List<Object?> args) → Future<Object?>
Invokes the adapter asynchronously with direct component values.
invokeFlat(List<Object?> flatArgs, {Memory? memory, WASIComponentCanonicalRealloc? realloc}) → List<Object?>
Invokes the adapter through flat Canonical ABI scalar values.
invokeFlatAsync(List<Object?> flatArgs, {Memory? memory, WASIComponentCanonicalRealloc? realloc}) → Future<List<Object?>>
Invokes the adapter asynchronously through flat Canonical ABI scalar values.
invokeLiftedCore(List<Object?> args, {Memory? memory, WASIComponentCanonicalRealloc? realloc}) → Object?
Invokes this lifted function through the core signature produced by the Canonical ABI flattening algorithm.
invokeLiftedCoreAsync(List<Object?> args, {Memory? memory, WASIComponentCanonicalRealloc? realloc}) → Future<Object?>
Invokes this lifted function through its canonical core signature and waits for an asynchronous core callback when necessary.
invokeLoweredCore(List<Object?> coreArgs, {Memory? memory, WASIComponentCanonicalRealloc? realloc}) → List<Object?>
Invokes this lowered function using the core signature produced by the Canonical ABI flattening algorithm.
invokeLoweredCoreAsync(List<Object?> coreArgs, {Memory? memory, WASIComponentCanonicalRealloc? realloc}) → Future<List<Object?>>
Invokes this lowered function using the core signature produced by the Canonical ABI flattening algorithm and waits for the host callback.
invokeWithMemory(Memory memory, List<int> paramPointers, {int? resultPointer, WASIComponentCanonicalRealloc? realloc}) → Object?
Invokes the adapter with parameter/result values stored in memory.
invokeWithMemoryAsync(Memory memory, List<int> paramPointers, {int? resultPointer, WASIComponentCanonicalRealloc? realloc}) → Future<Object?>
Invokes the adapter asynchronously with parameter/result values stored in memory.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prepareAsyncLiftCoreArgs(List<Object?> args, {Memory? memory, WASIComponentCanonicalRealloc? realloc}) → List<Object?>
Lowers component arguments for a stackless async canonical lift.
startAsyncLowerCore(List<Object?> coreArgs, {Memory? memory, WASIComponentCanonicalRealloc? realloc}) → WASIComponentCanonicalAsyncLowerCall
Starts this async lowered function and returns before a future callback resolves.
toString() → String
A string representation of this object.
inherited

Operators

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