https://kotlinlang.org logo
#compose-ios
Title
# compose-ios
p

Pete Hellyer

09/20/2023, 11:55 AM
Hi All, I’m using a bunch of flows in my KMM module, but these are really sluggish and don’t seem to work asynchronously in iOS - are flows properly supported on IOS?
r

ribesg

09/20/2023, 1:05 PM
don’t seem to work asynchronously in iOS
What do you mean? Flows are asynchronicity
Do you mean parallelism maybe? What exactly works for you on Android but not on iOS?
j

John O'Reilly

09/21/2023, 7:54 AM
Maybe take a look at KMP-NativeCoroutines library
d

Dima Avdeev

09/23/2023, 8:53 PM
On iOS: • You can use kotlinx.coroutines Flow https://github.com/Kotlin/kotlinx.coroutines • And use https://ktor.io/ client for network requests
5 Views