Companion

Since Kotlin

1.1

Since Kotlin

1.8

Functions

Link copied to clipboard
fun <S> all(promise: Array<out Promise<S>>): Promise<Array<out S>>
Since Kotlin 1.1
fun <S : JsAny?> all(promise: JsArray<out Promise<S>>): Promise<JsArray<out S>>
Since Kotlin 1.8
Link copied to clipboard
fun <S> race(promise: Array<out Promise<S>>): Promise<S>
Since Kotlin 1.1
fun <S : JsAny?> race(promise: JsArray<out Promise<S>>): Promise<S>
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
fun <S> resolve(e: S): Promise<S>
fun <S> resolve(e: Promise<S>): Promise<S>
Since Kotlin 1.1
fun <S : JsAny?> resolve(e: S): Promise<S>
fun <S : JsAny?> resolve(e: Promise<S>): Promise<S>
Since Kotlin 1.8