kite-core / jp.co.cyberagent.kite.core / state
state¶
fun <T>
KiteDslScope
.state(initialValue: () ->
T
):
KiteMutableState
<
T
>
Find the KiteStateCreator in current context and use it to create a KiteState with initialValue.
kite-core / jp.co.cyberagent.kite.core / state
fun <T>
KiteDslScope
.state(initialValue: () ->
T
):
KiteMutableState
<
T
>
Find the KiteStateCreator in current context and use it to create a KiteState with initialValue.