<init>
Promise(
executor: (resolve: (T) -> Unit, reject: (Throwable) -> Unit) -> Unit)
Exposes the JavaScript Promise object to Kotlin.
Promise(
executor: (resolve: (T) -> Unit, reject: (Throwable) -> Unit) -> Unit)
Exposes the JavaScript Promise object to Kotlin.