dimsuz
09/26/2022, 12:08 PMStateFlow
or SharedFlow
if the particular flow behaves state-like or share-like? Or is it better to stick to Flow
to be more generic? I was advised to do the latter, but oftentimes I find it useful to do something like onSubscription
which is unavailable for Flow
and having to do stateIn
/ shareIn
when I know that underlying code already has `StateFlow`/`SharedFlow` somehow feels wasteful.Robert Williams
09/26/2022, 12:37 PMRobert Williams
09/26/2022, 12:37 PMRobert Williams
09/26/2022, 12:39 PMdimsuz
09/26/2022, 3:19 PM