getManagedDelayedFuture<T> abstract method
Creates a Future that will complete, with the value
returned by callback
, after the given amount of time has elapsed.
If the object is disposed before the time has elapsed the future will complete with an ObjectDisposedException error.
Implementation
Future<T> getManagedDelayedFuture<T>(Duration duration, T callback());