kite-core / jp.co.cyberagent.kite.core / KiteStateCreator
KiteStateCreator¶
interface KiteStateCreator
Defines how to create KiteMutableState.
Functions¶
| Name | Summary |
|---|---|
| create | abstract fun <T> create(initialValue: () ->T):KiteMutableState<T> |
Extension Functions¶
| Name | Summary |
|---|---|
| asKiteContextElement | fun <T :Any>T.asKiteContextElement():Pair<KClass<*>,Any>Creates a KiteContextElement with the KClass |