map

open fun <S> map(transform: suspend (Result) -> S): Collector<Value, S>(source)

Performs additional work during the finalization phase, by applying a function to the end result.

Parameters

transform

Additional function to apply to the end result.