wait property
ValueCell<(T$1, T$2, T$3, T$4, T$5, T$6, T$7, T$8, T$9)>
get
wait
Return a cell that awaits the Future held in the cells in this
.
The value of the returned cell is the completed value of the Future.
Whenever the values of the cells in this
change, the returned cell
awaits the new Future and updates its value accordingly.
Until the Future completes, accessing the value
of the returned cell
will throw a PendingAsyncValueError.
NOTE: The returned cell must have at least one observer in order to function.
Implementation
ValueCell<(T$1, T$2, T$3, T$4, T$5, T$6, T$7, T$8, T$9)> get wait {
return WaitCell(
arg: apply(
($1, $2, $3, $4, $5, $6, $7, $8, $9) =>
($1, $2, $3, $4, $5, $6, $7, $8, $9).wait,
key: _CombinedCellKey(this, false)));
}