Hi, does anybody know if consuming a suspend metho...
# multiplatform
r
Hi, does anybody know if consuming a suspend method return type of Result<some class> will be fine with iOS?
o
I'm not sure about suspend, but I'm consuming flows which is a generic sealed class.
I just needed to map my sealed class to a swift enum
r
Not sure but I remember reading somewhere about consuming suspend function from inside new async functions from swift 5.5 onwards. Maybe checking that will help.
h
Sure, but Kotlin.Result won't map to Swift.Result
r
Thats ok, I just wanted to check as Result is an inline class