Documentation / dataflow-async / com.femastudios.dataflow.async.extensions / flatMapA
Go to reference

flatMapA

fun <T, R> Attribute<Iterable<T>>.flatMapA(transform: (T) -> Attribute<Iterable<R>>): Attribute<List<R>>
fun <K, V, R> Attribute<Map<K, V>>.flatMapA(transform: (Entry<K, V>) -> Attribute<Iterable<R>>): Attribute<List<R>>

Same as flatMap, but accepts Attribute and returns a new Attribute.

See Also

kotlin.collections.flatMap