FsFlow.Flow.map
Maps the successful value of a synchronous flow.
Remarks
If the source flow fails, the mapper is not executed,
and the error is preserved. This allows for safe transformation of data within the flow.
Parameters
mapper: A function of type'value -> 'nextto transform the successful value.flow: The source flow of typeFlowto transform.
Returns
A new Flow with the transformed success value of type 'next.