outcome
Toggle table of contents
0.3.0
jvm
Platform filter
jvm
Switch theme
Search in API
outcome
outcome
/
nz.adjmunro.outcome.fetch.flow
/
mapToCache
map
To
Cache
inline
fun
<
In
:
Out
,
Out
:
Any
>
FetchFlow
<
In
>
.
mapToCache
(
crossinline
transform
:
suspend
Finished
<
In
>
.
(
)
->
Out
=
{ result }
)
:
FetchFlow
<
Out
>
Map
a
fetch flow
to
mapToCache
each emission.