DisposableFuture<T> constructor
DisposableFuture<T> (
- Future<
T> _delegateFuture, - DisposeFunction _disposeFn
Wraps a future and passes a function that should cancel the operation.
Implementation
DisposableFuture(this._delegateFuture, this._disposeFn);