Hi, does anyone know how suspend functions are com...
# multiplatform
m
Hi, does anyone know how suspend functions are compiled for iOS?
m
Support for suspend has been added with 1.4 and it maps as callback https://kotlinlang.org/docs/reference/whatsnew14.html#support-for-kotlins-suspending-functions-in-swift-and-objective-c I have no personal experience yet.
m
Yes I've already been using it and it works pretty well! I was just wondering if anyone knew the details of what's going on under the hood when compiling suspend functions for iOS.
m
Now I am courrios too 🙂
j
Is it on the roadmap to add support to Flow?
m
@Javier flows already work too 😊
j
Do you have an example? All I have seen are using "stranger things" to get it working