future property

Future<T> future

The cancellable future.

If the CancellationToken is cancelled, this future will throw the cancellation exception. Otherwise the future will complete as normal.

Implementation

Future<T> get future => _completer.future;