Hello guys, i am calling suspend function on ios, ...
# ios
b
Hello guys, i am calling suspend function on ios, and is getting the following error,
*Calling Kotlin suspend functions from Swift/Objective-C is currently supported only on main thread*
any clue
k
You’re not calling them from the main thread?
We tend to use libraries to better manage the reactive interface. I would check out https://github.com/rickclephas/KMP-NativeCoroutines
b
Thanks @kpgalligan