WASIComponentWaitableEvent class final
A Canonical ABI waitable event tuple.
Constructors
- WASIComponentWaitableEvent({required WASIComponentWaitableEventCode code, int payload1 = 0, int payload2 = 0})
-
Creates an event with two canonical
u32payload fields.const
Properties
- code → WASIComponentWaitableEventCode
-
Event discriminant.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isNone → bool
-
Whether this event represents no ready work.
no setter
- payload1 → int
-
First canonical
u32payload.final - payload2 → int
-
Second canonical
u32payload.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
-
toString(
) → String -
A string representation of this object.
inherited
-
writePayloadToMemory(
Memory memory, int pointer) → void -
Writes the two canonical
u32payload fields tomemory.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- none → const WASIComponentWaitableEvent
- No event is currently ready.
- taskCancelled → const WASIComponentWaitableEvent
- The current task observed cancellation.