AsyncComputeContext class
The compute context handed to an async callback: exposes getAsync and getCell that register dependency edges before the awaited read.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
get<
T> (AsyncSlotHandle< T> slot) → T - Read a synchronous computed on the async graph, recording the dependency.
-
getAsync<
T> (AsyncSlotHandle< T> slot) → Future<T> -
Await
slot's value, recording it as a dependency before the awaited read. -
getCell<
T> (AsyncCellHandle< T> cell) → T -
Read
cell's value synchronously, recording it as a dependency. -
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