Documentation / dataflow-async / com.femastudios.dataflow.async.extensions / associateByA
Go to reference
Go to reference
associateByA
fun <T, K, V> Attribute<Iterable<T>>.associateByA(keySelector: (T) -> Attribute<K>, valueTransform: (T) -> Attribute<V>): Attribute<Map<K, V>>
fun <T, K> Attribute<Iterable<T>>.associateByA(keySelector: (T) -> Attribute<K>): Attribute<Map<K, T>>
Same as associateBy, but accepts Attribute and returns a new Attribute.
See Also