inline fun <T : Container<S, I, A>,
InstanceKeeperOwner, S : MVIState, I : MVIIntent, A : MVIAction> T.retainedStore(initial: S, key: Any, scope: CoroutineScope? = retainedScope(), builder: BuildStore<S, I, A>): Store<S, I, A> inline fun <S : MVIState, I : MVIIntent, A : MVIAction> InstanceKeeper.retainedStore(initial: S, key: Any, scope: CoroutineScope? = retainedScope(), builder: BuildStore<S, I, A>): Store<S, I, A> inline fun <S : MVIState, I : MVIIntent, A : MVIAction> InstanceKeeperOwner.retainedStore(initial: S, key: Any, scope: CoroutineScope? = retainedScope(), builder: BuildStore<S, I, A>): Store<S, I, A> Creates and retains a new Store instance built using builder using this InstanceKeeper.
See store for more details.
inline fun <T : Container<S, I, A>,
InstanceKeeperOwner, S : MVIState, I : MVIIntent, A : MVIAction> T.retainedStore(initial: S, scope: CoroutineScope? = retainedScope(), builder: BuildStore<S, I, A>): Store<S, I, A> inline fun <S : MVIState, I : MVIIntent, A : MVIAction> InstanceKeeper.retainedStore(initial: S, scope: CoroutineScope? = retainedScope(), builder: BuildStore<S, I, A>): Store<S, I, A> inline fun <S : MVIState, I : MVIIntent, A : MVIAction> InstanceKeeperOwner.retainedStore(initial: S, scope: CoroutineScope? = retainedScope(), builder: BuildStore<S, I, A>): Store<S, I, A> Creates and retains a new Store instance built using builder using this InstanceKeeper.
Uses the type of S as the key for the instance keeper
By default, uses a retainedScope instance to launch the store automatically. Provide null to not launch the store after creation.
See store for more details.
@JvmName(name = "retainedInstanceKeeperStoreFactory") inline fun <S : MVIState, I : MVIIntent, A : MVIAction> InstanceKeeper.retainedStore(key: Any, scope: CoroutineScope? = retainedScope(), factory: () -> Store<S, I, A>): Store<S, I, A>inline fun <S : MVIState, I : MVIIntent, A : MVIAction> InstanceKeeperOwner.retainedStore(scope: CoroutineScope? = retainedScope(), factory: () -> Store<S, I, A>): Store<S, I, A> Creates and retains a new Store instance provided using factory using this InstanceKeeper.
inline fun <S : MVIState, I : MVIIntent, A : MVIAction> InstanceKeeper.retainedStore(scope: CoroutineScope? = retainedScope(), factory: () -> Store<S, I, A>): Store<S, I, A> @JvmName(name = "retainedInstanceKeeperOwnerStoreFactory") inline fun <S : MVIState, I : MVIIntent, A : MVIAction> InstanceKeeperOwner.retainedStore(key: Any, scope: CoroutineScope? = retainedScope(), factory: () -> Store<S, I, A>): Store<S, I, A>@JvmName(name = "subscribeContainerFactory") inline fun <S : MVIState, I : MVIIntent, A : MVIAction> InstanceKeeperOwner.retainedStore(scope: CoroutineScope? = retainedScope(), factory: () -> Container<S, I, A>): Store<S, I, A>Creates and retains a new Store instance provided using factory using this InstanceKeeper.
Uses the type of S as the key for the instance keeper
By default, uses a retainedScope instance to launch the store automatically. Provide null to not launch the store after creation.
@JvmName(name = "retainedContainerFactory") inline fun <S : MVIState, I : MVIIntent, A : MVIAction> InstanceKeeperOwner.retainedStore(key: Any, scope: CoroutineScope? = retainedScope(), factory: () -> Container<S, I, A>): Store<S, I, A>Creates and retains a new Store instance provided using factory using this InstanceKeeperOwner.