Store
Store copied to clipboard
A Kotlin Multiplatform library for building network-resilient applications
Created kotlin multiplatform module using store4 module to migrate and test functionality slowly. Replaced references in sample code referencing store4 with kmp code. So far, with disabled cache, functionality /...
Once #49 lands we will be 100% kotlin. Next, we should create kotlin multiplatform targets and explore current solutions for handling flow/suspend within native/js
See the following thread stack. I'm using a pretty vanilla setup for Room + Store and streaming in ViewModels (i.e. collecting on the main thread): ``` viewModelScope.launch { store.stream(StoreRequest.cached(showId, refresh...
String.format & exceptions need to be converted to work with kotlin native
java.util.concurrent goes to kotlin.native.concurrent. some java.util various collections (Stack, ConcurrentHashmap)
Is it possible to execute some custom actions when memory cache become invalidated? I am trying to integrate `Jetpack Paging` with `Store`. The [DataSource](https://developer.android.com/reference/androidx/paging/DataSource) required us to call `invalidate` when...
As I wrote internally - I am not sure we need to require users pass in `Bookkeeper`. All `Bookkeper` needs to do is let `RealMarket` know it should eagerly resolve...
**Describe the bug** When I call `store.get()` in the `RoomDatabase.withTransaction {}` and the store trigger the writer to write data into the database, a deadlock will occur. Everything is fine...