ImmutableContainer

A simple class that delegates to the store property.

Inheritors

Properties

Link copied to clipboard
abstract val store: ImmutableStore<S, I, A>

A Store that is used with the container

Functions

Link copied to clipboard
inline fun <S : MVIState, I : MVIIntent, A : MVIAction> ImmutableContainer<S, I, A>.lazyStore(initial: S, mode: LazyThreadSafetyMode = LazyThreadSafetyMode.SYNCHRONIZED, crossinline configure: BuildStore<S, I, A>): Lazy<Store<S, I, A>>
inline fun <S : MVIState, I : MVIIntent, A : MVIAction> ImmutableContainer<S, I, A>.lazyStore(initial: S, scope: CoroutineScope, mode: LazyThreadSafetyMode = LazyThreadSafetyMode.SYNCHRONIZED, crossinline configure: BuildStore<S, I, A>): Lazy<Store<S, I, A>>

Alias for pro.respawn.flowmvi.dsl.lazyStore (with a scope)

Link copied to clipboard
inline fun <S : MVIState, I : MVIIntent, A : MVIAction> ImmutableContainer<S, I, A>.store(initial: S, crossinline configure: BuildStore<S, I, A>): Store<S, I, A>
inline fun <S : MVIState, I : MVIIntent, A : MVIAction> ImmutableContainer<S, I, A>.store(initial: S, scope: CoroutineScope, crossinline configure: BuildStore<S, I, A>): Store<S, I, A>