Rachel
Toggle table of contents
3.5.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.compose.startup.config
/
love.yinlin.compose.config
Package-level
declarations
Types
Functions
Types
Cache
State
Link copied to clipboard
@
Stable
abstract
class
CacheState
:
ConfigState
,
ReadWriteProperty
<
Any
?
,
Long
>
Collection
State
Link copied to clipboard
@
Stable
abstract
class
CollectionState
<
C
,
RC
:
C
>
(
kv
:
StartupKV
,
name
:
String
,
version
:
String
?
=
null
,
serializer
:
KSerializer
<
C
>
,
stateFactory
:
(
C
)
->
RC
,
defaultFactory
:
(
)
->
C
)
:
ConfigState
Config
State
Link copied to clipboard
@
Stable
interface
ConfigState
List
State
Link copied to clipboard
@
Stable
open
class
ListState
<
T
>
(
kv
:
StartupKV
,
name
:
String
,
version
:
String
?
,
itemSerializer
:
KSerializer
<
T
>
,
defaultFactory
:
(
)
->
List
<
T
>
)
:
CollectionState
<
List
<
T
>
,
SnapshotStateList
<
T
>
>
Map
State
Link copied to clipboard
@
Stable
open
class
MapState
<
K
,
V
>
(
kv
:
StartupKV
,
name
:
String
,
version
:
String
?
,
keySerializer
:
KSerializer
<
K
>
,
valueSerializer
:
KSerializer
<
V
>
,
defaultFactory
:
(
)
->
Map
<
K
,
V
>
)
:
CollectionState
<
Map
<
K
,
V
>
,
SnapshotStateMap
<
K
,
V
>
>
Patch
Link copied to clipboard
abstract
class
Patch
(
val
name
:
String
,
val
version
:
Int
?
=
null
)
Patches
Link copied to clipboard
typealias
Patches
=
List
<
Patch
>
Value
State
Link copied to clipboard
@
Stable
abstract
class
ValueState
<
T
>
(
version
:
String
?
=
null
,
stateFactory
:
(
T
)
->
MutableState
<
T
>
=
{ mutableStateOf(it) }
)
:
ConfigState
,
ReadWriteProperty
<
Any
?
,
T
>
Functions
patches
Link copied to clipboard
fun
patches
(
vararg
patches
:
Patch
)
:
Patches