contramapNonSuspend

open fun <P> contramapNonSuspend(transform: (P) -> Value): NonSuspendCollector<P, Result>(source)

Applies a function over each element in the data source, before giving it to the collector.

Parameters

transform

Function to apply to each value