argamap

fun <R> argamap(vararg transforms: suspend () -> R): List<R?>(source)

Deprecated

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

Replace with

import com.lagradost.cloudstream3.runAllAsync
runAllAsync(transforms)

Short for "Argument Asynchronous Map" because it allows for a variadic number of paramaters.

Runs all different functions at the same time and awaits for all to be finished, then returns a list of all those items or null if they fail. However Unit is often used.