Zsolt Kovacs
02/20/2024, 4:27 PMinterface Foo {
suspend fun getStringAsync(): String?
}
If I would like to implement the interface in Swift side, my code will have to be:
class FooImpl: Foo {
func __getStringAsync() async throws -> String {}
}
Notice the return type is String
, rather than String?
as I would expect.
I have the following gradle configuration:
skie {
features {
coroutinesInterop = true
}
}
----------
If however, I disable SKIE, it will look correct on the Swift side:
class FooImpl: Foo {
func __getStringAsync() async throws -> String? {}
}
Am I missing something, or is this intended behavior?Jon Bailey
02/21/2024, 6:03 PMZsolt Kovacs
03/13/2024, 12:31 PM