promise

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

Start a progress indicator for a given promise.