wasmtime_async_continuation_t class final

A continuation for the current state of the host function's execution.

Inheritance
Implemented types
Available extensions

Properties

address → Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
callback ↔ wasmtime_func_async_continuation_callback_t
Callback for if the async function has completed.
getter/setter pair
env ↔ Pointer<Void>
User-provided argument to pass to the callback.
getter/setter pair
finalizer ↔ Pointer<NativeFunction<Void Function(Pointer<Void>)>>
A finalizer for the user-provided *env
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
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
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

$allocate(Allocator $allocator, {required wasmtime_func_async_continuation_callback_t callback, required Pointer<Void> env, required Pointer<NativeFunction<Void Function(Pointer<Void>)>> finalizer}) → Pointer<wasmtime_async_continuation_t>