cachePlugin
fun <T, S : MVIState, I : MVIIntent, A : MVIAction> cachePlugin(value: CachedValue<T, S, I, A>, name: String? = null): StorePlugin<S, I, A>
Converts value to a StorePlugin. Mostly needed when storing a direct reference to the CachedValue out of the store's scope (which is less safe). For all other cases, use cache.