strongMapEachIndexedTo

inline fun <T, R, C : MutableCollection<in R>> Provider<Collection<T>>.strongMapEachIndexedTo(crossinline makeCollection: (size: Int) -> C, crossinline transform: (Int, T) -> R): Provider<C>

Creates and returns a new Provider that maps each element and its index of the Collection obtained from this using the transform function and adds the results to a collection created by makeCollection.

makeCollection and transform should be pure functions.