apmapIndexed

fun <A, B> List<A>.apmapIndexed(f: suspend (index: Int, A) -> B): List<B>(source)

Deprecated

This blocks with runBlocking, and should not be used inside a suspended context

Replace with

import com.lagradost.cloudstream3.amapIndexed
amapIndexed(f)

Short for "Asynchronous Parallel Map" with an Index, but is not really parallel, only concurrent.