Progress

open class Progress(options: ProgressOptions = ProgressOptions())

The progress indicator.

Constructors

Link copied to clipboard
constructor(options: ProgressOptions = ProgressOptions())

Properties

Link copied to clipboard

Whether the indicator is in progress.

Functions

Link copied to clipboard
fun end(immediately: Boolean = false)

Stop the progress indicator.

Link copied to clipboard
fun <T : JsAny> promise(promise: Promise<T>, options: ProgressPromiseOptions? = null): Promise<T>

Start a progress indicator for a given promise.

Link copied to clipboard

Change the options for the progress indicator.

Link copied to clipboard
fun start()

Start the progress indicator.