FutureObserver
public final class FutureObserver<T> : AnyFutureObserver
Used to keep track of observers, in order to supply the ability to remove observers from a future, if the result of a future is no longer interesting.
The following methods return a FutureObserver
:
Future<T>.whenResolved()
Future<T>.whenFulfilled()
Future<T>.whenRejected()