cancellable

abstract var cancellable: Boolean?(source)

Controls if a cancel button should show to allow the user to cancel the long running operation. Note that currently only ProgressLocation.Notification is supporting to show a cancel button.

Online Documentation