WASIComponentCanonicalAsyncHandleProgram class final
Handle-backed stream/future-only canonical program for a decoded component.
Constructors
-
WASIComponentCanonicalAsyncHandleProgram({required List<
WASIComponentCanonicalAsyncOperation> operations}) -
Creates a canonical async handle program from ordered
operations.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
operations
→ List<
WASIComponentCanonicalAsyncOperation> -
Stream/future operations in component canonical definition order.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
invoke(
int canonicalIndex, List< Object?> args) → Object? -
Invokes the canonical async operation at
canonicalIndexwith handles. -
invokeAsync(
int canonicalIndex, List< Object?> args) → Future<Object?> - Invokes a handle-backed canonical async operation and waits for pending future reads.
-
invokeWithMemory(
int canonicalIndex, Memory memory, List< Object?> args, {WASIComponentCanonicalRealloc? realloc}) → Object? - Invokes a handle-backed canonical async memory-copy operation.
-
invokeWithMemoryAsync(
int canonicalIndex, Memory memory, List< Object?> args, {WASIComponentCanonicalRealloc? realloc}) → Future<Object?> - Invokes a handle-backed canonical async memory-copy operation and waits when the endpoint cannot complete immediately.
-
invokeWithMemoryEvent(
int canonicalIndex, Memory memory, List< Object?> args, {WASIComponentCanonicalRealloc? realloc}) → Object? - Starts a handle-backed canonical async memory-copy operation.
-
invokeWithoutMemoryAsync(
int canonicalIndex, List< Object?> args) → Future<Object?> - Executes a synchronous no-memory core Canonical ABI operation.
-
invokeWithoutMemoryEvent(
int canonicalIndex, List< Object?> args) → Object? - Starts a no-memory core Canonical ABI operation.
-
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