https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
j

Jide

11/14/2020, 8:15 AM
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

John O'Reilly

11/14/2020, 9:48 AM
j

Jide

11/14/2020, 10:39 AM
Thanks @John O'Reilly . Read this yesterday. Was just wondering if there was a cleaner way without the boilerplate
j

John O'Reilly

11/14/2020, 10:40 AM
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

Jide

11/14/2020, 10:50 AM
Alright. Fingers crossed. Thanks for the response.
r

russhwolf

11/14/2020, 3:30 PM
Sorry for the boilerplate. I'm definitely open to suggestions if you have thoughts about how to trim it down.
d

Daniele B

11/14/2020, 4:16 PM
@Jide if you are interested in StateFlow, here is an open issue: https://youtrack.jetbrains.com/issue/KT-41953
34 Views