blakelee
03/21/2025, 11:54 PMStoreReadRequest.cached(key, refresh = true)
? I figured it would hit my SoT first then try to refresh. However without a network connection it fails to return any data — even the SoT dataMatthew Ramotar
03/28/2025, 11:33 PMMatthew Ramotar
03/28/2025, 11:37 PMblakelee
03/29/2025, 5:23 AMscope.launch {
store.stream<EventWriteResponse>(StoreReadRequest.cached(EventKey.Read.All, true))
.filterIsInstance<StoreReadResponse<EventData.Collection>>()
.collect(events)
}
I switch the refresh to false for the time being, introduce a delay then do
store.fresh<EventKey, EventData, Event>(EventKey.Read.All)
and it all works