Store
Store copied to clipboard
A Kotlin Multiplatform library for building network-resilient applications
Hello! **Is your feature request related to a problem? Please describe.** I think that my case is very common. Therefore I couldn't create a clean solution without library extension and/or...
Suppose I have simple store fetching random number with in memory cache that lives 10 seconds: ``` @OptIn(ExperimentalTime::class) private val store by lazy { StoreBuilder .from(Fetcher.of { Random.nextInt() % 100...
Please see our contributing guidelines (contributing.md) primarily make sure to sign our cla as we cannot accept code externally without a signed cla https://opensource.dropbox.com/cla/
When migrating from **Store4** to **Store5**, the below-mentioned crash happened in the **Android** platform. ``` java.lang.NoClassDefFoundError: Failed resolution of: Lkotlinx/atomicfu/AtomicFU; at org.mobilenativefoundation.store.store5.impl.SourceOfTruthWithBarrier.(SourceOfTruthWithBarrier.kt:57) at org.mobilenativefoundation.store.store5.impl.RealStore.(RealStore.kt:56) at org.mobilenativefoundation.store.store5.impl.RealStoreBuilder.build(RealStoreBuilder.kt:38) Caused by: java.lang.ClassNotFoundException: Didn't...
it looks like we can have a version of the converter that has: fromNetworkToSOT fromSOTToCommon fromCommonToSOT This would skip the need to make a converter going from network to common....
## Problem Android docs have guidance on conflict resolution once network is available. But they don’t consider cases of certain network services remaining unavailable. See https://developer.android.com/topic/architecture/data-layer/offline-first ## Example Imagine a...
maybe move the noop logic to the converter _Originally posted by @digitalbuddha in https://github.com/MobileNativeFoundation/Store/pull/496#discussion_r1053357158_
I think eventually we should collapse to Store.Request.Write and Store.Request.Read same with the response _Originally posted by @digitalbuddha in https://github.com/MobileNativeFoundation/Store/pull/496#discussion_r1053355301_
Closes #541 ## Description Writing into Store doesnt emit data into collected stream (reading from Store), also when collecting stream with localOnly request. Happens only if you don't provide SourceOfTruth....