soderbjorn
07/31/2025, 9:43 PMsuspend functions. In the past they were exported to ObjectiveC and very easy to call from Swift, e.g.:
viewModel.run() { error in
if let error = error {
// ...
}
}
Now, looking at the generated Swift source code, my suspend functions are completely excluded from export! 😱 Other functions in the same class are exported, even with similar (empty) method signature, as long as they are not suspend functions.
I must be missing something here. What might be going on? 🤔
Edit: Hmm, I guess this is probably just a consequence of coroutines not being supported yet.Guilherme Delgado
08/01/2025, 10:14 AMsoderbjorn
08/01/2025, 12:46 PMArtem Olkov
08/05/2025, 10:58 AM@Guilherme Delgado is correct - we have announced at kotlinconf25 that our next big milestone is the support for coroutines. We do not have a public timeline for the availability of that support, but we are working on it 🙂François
08/06/2025, 5:09 PM