MathCoroutinesFlow icon indicating copy to clipboard operation
MathCoroutinesFlow copied to clipboard

Usage of Flow and Channels

Results 2 MathCoroutinesFlow issues
Sort by recently updated
recently updated
newest added

https://github.com/manuelvicnt/MathCoroutinesFlow/blob/e7ccceda6847d815cae3ea3d4f179c3ac07765d2/app/src/main/java/com/manuelvicnt/coroutinesflow/user/impl/UserRepository.kt#L78-L80 This should be a `Flow`, as `UserRepository` exposes an API that returns multiple instances of `T` over time. `ConflatedBroadcastChannel` is [basically a `Flow`](https://github.com/Kotlin/kotlinx.coroutines/issues/1082), as subscribing to it is cold...

It would be better to use `when` expression to increase readability on this part of your code. ![image](https://user-images.githubusercontent.com/5937963/64631482-94d11e80-d3cd-11e9-87c8-2f25d2a7e3b2.png) `I'd like to open a PR for that` :smile: