kite-core / jp.co.cyberagent.kite.core / KiteSubscribeScope
KiteSubscribeScope¶
interface KiteSubscribeScope
Define a scope for subscribing a action to the change of some KiteStates automatically.
Functions¶
Name | Summary |
---|---|
refOnly | abstract fun <T> refOnly(block: KiteSubscribeScope .() -> T ): T Any state referenced in the block will not be treated as a dependency. |
Extension Functions¶
Name | Summary |
---|---|
asKiteContextElement | fun <T : Any > T .asKiteContextElement(): Pair < KClass <*>, Any > Creates a KiteContextElement with the KClass |