WASIComponentWaitableEventCode enum

Component Model waitable event codes.

These integer values are the Canonical ABI event discriminants returned by waitable-set.wait and waitable-set.poll.

Inheritance
Available extensions

Values

none → const WASIComponentWaitableEventCode

No event is currently available.

const WASIComponentWaitableEventCode(0)
subtask → const WASIComponentWaitableEventCode

A subtask state update is ready.

const WASIComponentWaitableEventCode(1)
streamRead → const WASIComponentWaitableEventCode

A stream read copy completed or changed state.

const WASIComponentWaitableEventCode(2)
streamWrite → const WASIComponentWaitableEventCode

A stream write copy completed or changed state.

const WASIComponentWaitableEventCode(3)
futureRead → const WASIComponentWaitableEventCode

A future read copy completed or changed state.

const WASIComponentWaitableEventCode(4)
futureWrite → const WASIComponentWaitableEventCode

A future write copy completed or changed state.

const WASIComponentWaitableEventCode(5)
taskCancelled → const WASIComponentWaitableEventCode

The current task observed cancellation.

const WASIComponentWaitableEventCode(6)

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → int
Canonical ABI integer discriminant.
final

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

Constants

values → const List<WASIComponentWaitableEventCode>
A constant List of the values in this enum, in order of their declaration.