ApiResult
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
ApiResult
core
/
pro.respawn.apiresult
/
mapLoading
map
Loading
infix inline
fun
<
T
,
R
:
T
>
ApiResult
<
T
>
.
mapLoading
(
block
:
(
)
->
R
)
:
ApiResult
<
T
>
Maps
Loading
to a
Success
, not affecting other states.
See also
map
Error
map
try
Map