race

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

Since Kotlin

1.1