finally

open fun finally(onFinally: () -> Unit): Promise<T>(source)

Since Kotlin

1.1
fun finally(onFinally: () -> Unit): Promise<T>(source)

Since Kotlin

1.8