//
koffee-backend
/
eu.yeger.koffee.model.dto
/
map
map
Transforms the data of
Result
s if they are
Result.Success
es.
Return
The new
Result
.
Author
Jan Müller
Parameters
<receiver>
The source
Result
.
T
The source type.
transformation
The transformation operation.
U
The target type.
suspend fun <
T
:
Any
,
U
:
Any
>
Result
<
T
>.
map
(transformation:
SuspendFunction1
<
T
,
U
>):
Result
<
U
>
Content copied to clipboard