race

fun <S> race(promise: Array<out Promise<S>>): Promise<S>(source)

Since Kotlin

1.1
fun <S : JsAny?> race(promise: JsArray<out Promise<S>>): Promise<S>(source)

Since Kotlin

1.8