FutureExtension<T> extension

on

Methods

and<V>(Future<V> v) Future<V>
Will also tack on the given future to the existing (instance) future. The resulting future will only complete once both futures have completed
build({WBuilder builder, LBuilder loading}) FutureBuilder<T>
Returns a futurebuilder out of this future Provide a builder(data, context) and a loading(context) builder
predicate<G>(Predicate<T> predicate, Callback<G> callback) Future<G>
If the given predicate is true (checked when the future completes) Invoke the callback result, otherwise returns null