What's the proper way to consume flow observables ...
# multiplatform
j
What's the proper way to consume flow observables in iOS? Can't see any sample beyond third party observable libraries
Would also be nice if we could have Flow-RxSwift interop
j
j
Thanks @John O'Reilly . Read this yesterday. Was just wondering if there was a cleaner way without the boilerplate
j
Not right now I believe....I'm hopeful this is something that will get built out in time as part of core Kotlin/Native capability (as was case for example of ability to call suspend functions directly that was added in 1.4)
j
Alright. Fingers crossed. Thanks for the response.
r
Sorry for the boilerplate. I'm definitely open to suggestions if you have thoughts about how to trim it down.
d
@Jide if you are interested in StateFlow, here is an open issue: https://youtrack.jetbrains.com/issue/KT-41953