Store 6
One read contract for every copy of your data.
Store coordinates network, persistence, and memory behind typed Kotlin Multiplatform reads. Start with a key and a fetcher, then add persistence and projections as needed.
Your first Store
Illustrative shapeval users = store<UserKey, User> {
fetcher { key -> FakeApi.getUser(key.id) }
}
users.stream(UserKey("1")).collect { result -> render(result) }
val user = users.get(UserKey("2"))store {} block is verbatim from the executable Quickstart module. The two read lines are simplified illustrations of the same stream and get calls.