forwardFuture method

void forwardFuture(
  1. Future<T> future
)

Forwards the value of the future onto this computable when it resolves.

Implementation

void forwardFuture(Future<T> future) {
  _addDependency(Computable.fromFuture(future, initialValue: get()));
}