Regarding support for calling suspend functions from Swift/Objective C.....I think this was asked here before but don't remember seeing an answer.....is anyone aware of how this is implemented under the good, and what is setup for example regarding dispatcher used and cancellations? I think many projects are still rolling their own approach to this primarily so they have control for example of lifecycle aware cancellation.
function in Kotlin. Please consider creating a feature request: https://kotl.in/issue
👍 1
j
John O'Reilly
09/28/2020, 10:30 AM
@svyatoslav.scherbina I'm curious if you've got much feedback about not being able to cancel? I guess typically on Android side we'd use lifecycle aware
viewModelScope
(if using Android AAC
ViewModel
).....so ideally what would be used in Swift would provide something similar
s
svyatoslav.scherbina
09/28/2020, 11:04 AM
Well, not yet 🙂 But I guess not so many people have already migrated to 1.4 and are starting adoption of the feature.
This use case is known; if there are enough user demand, we would consider supporting it.