Progress Token
Functions
get Completion Stage
Link copied to clipboard
Gets the already started CompletionStage which completes with the result.
is Cancelled
Link copied to clipboard
Is the progress cancelled or not.
on Exception
Link copied to clipboard
abstract fun onException(exception: Consumer<Throwable>): ProgressToken<T>
Content copied to clipboard
Adds a new consumer to the progressToken which gets called if the the progress fails with an exception.
on Progress
Link copied to clipboard
Adds a new consumer to the progressToken which gets called each time the progress percentage from 0.0(0%) to 1.0 (100%) changes.