Rachel
Toggle table of contents
3.6.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.compose.cache
/
love.yinlin.compose.cache
/
StateCache
State
Cache
class
StateCache
<
S
:
Any
,
V
:
Any
>
(
key
:
(
S
)
->
Any
=
{ it }
,
fetcher
:
suspend
(
source
:
S
)
->
V
)
Members
Constructors
State
Cache
Link copied to clipboard
constructor
(
key
:
(
S
)
->
Any
=
{ it }
,
fetcher
:
suspend
(
source
:
S
)
->
V
)
Functions
get
Link copied to clipboard
@
Composable
operator
fun
get
(
source
:
S
)
:
V
?