kotlin.js.Promise

Promise

open external class Promise<out T>

Platform and version requirements: JS

Exposes the JavaScript Promise object to Kotlin.

Constructors

<init>

Promise(
    executor: (resolve: (T) -> Unit, reject: (