Store
Store copied to clipboard
A Kotlin Multiplatform library for building network-resilient applications
https://kotlinlang.slack.com/archives/C06007Z01HU/p1715937520284159
Closes #636 ## Description The cancellation exception on upstream channel does not cause the closure of all other channels. ## Type of Change - [x] Bug fix (non-breaking change which...
**Describe the bug** Occasionally, the 'main stream' closes unexpectedly. **To Reproduce** Steps to reproduce the behavior: ``` val scope = CoroutineScope(Dispatchers.Default) val store = StoreBuilder.from(Fetcher.of { key -> delay(10) //simulate...
Closes #644 ## Test Plan All existing unit tests are passing ## Additional Notes: https://youtrack.jetbrains.com/issue/KT-69534/WasmJs-compilation-fails-with-anonymous-objects-and-exception-throwing-in-when-expressions. Changes to compile: - Replaced anonymous object with private class `DefaultConverter` (see `RealStoreBuilder.kt`) - Refactored...
I see that some of the modules already have support for wasmJS like cache module. Request the same for main Store module as well.
**Describe the bug** Deadlock caused by trying to capture lock on storeLock in tryEagerlyResolveConflicts in RealMutableStore.kt. **To Reproduce** - Reach to a state, when store need to resolve conflicts and...
## Description It seems like the `BroadcastChannel` is completely deprecated in the newest Kotlin, so.. getting rid of it. It is effectively a refactoring as it touches only the test...
**Describe the bug** When store.get() is called to retrieve a value, it should throw or return value. It should not hang indefinitely. **To Reproduce** Steps to reproduce the behavior: The...
Support for disk cache to store the data in secure encrypted.