AwaitInstruction class

Await instruction - represents an async suspension point.

This instruction terminates the current block and creates a continuation point. The future operand is the value being awaited, and result receives the unwrapped value when the future completes.

Inheritance

Constructors

AwaitInstruction({required int offset, required Value future, required Variable result})

Properties

future Value
final
hashCode int
The hash code for this object.
no setterinherited
offset int
finalinherited
result Variable
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.
override

Operators

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