fromAsync

fun <T, U> fromAsync(source: AsyncIterable<T>, transform: (item: T, index: Int) -> U): Promise<ReadonlyArray<U>>(source)
fun <T, U> fromAsync(source: JsIterable<PromiseResult<T>>, transform: (item: T, index: Int) -> U): Promise<ReadonlyArray<U>>(source)
fun <T, U> fromAsync(source: ReadonlyArray<PromiseResult<T>>, transform: (item: T, index: Int) -> U): Promise<ReadonlyArray<U>>(source)