CancelableFuture<T> extension
- on
-
- Future<
T>
- Future<
Methods
-
cancelOn(
CancellationToken? cancellationToken) → Future< T> - Returns a Future that either returns the result or error of this Future or contains an Exception when the CancellationToken is notified before this Future has completed.