allan.conda
07/07/2022, 4:27 AMflow(1, 1, 2, 2, 3).map { expensiveMapping(it) }.collect()
itzik kasovitch
07/07/2022, 5:41 AMallan.conda
07/07/2022, 6:30 AMitzik kasovitch
07/07/2022, 6:39 AMallan.conda
07/07/2022, 7:13 AMDo not layer a cache on top of this API: it will be be impossible to guarantee consistency.
* Instead, use data.first() to access a single snapshot.
I want to follow it but the map is doing cryptography, and it’s expensive to decrypt the value every time.itzik kasovitch
07/07/2022, 8:20 AMallan.conda
07/07/2022, 9:41 AMhfhbd
07/07/2022, 9:51 AMdistinctUntilChanged
?