Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,8 @@ You can delete a specific entry by key from a store, or clear all entries in a s

```kotlin
val store = StoreBuilder
.fromNonFlow<String, Int> { key: String ->
api.fetchData(key)
}.build()
.from(nonFlowValueFetcher { api.fetchData(key) })
.build()
```

The following will clear the entry associated with the key from the in-memory cache:
Expand Down