Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swift Concurrency support #128

Open
samueleperricone opened this issue May 12, 2023 · 0 comments
Open

Swift Concurrency support #128

samueleperricone opened this issue May 12, 2023 · 0 comments

Comments

@samueleperricone
Copy link

Async Await function are not currently supported and breaks the conversion.

Example:

protocol MyProtocol {
    func myFunction() async -> MyData
}

Should translates to:

interface MyProtocol {
    suspend fun myFunction(): MyData
}

Similarly when invoking the function, the await keyword can be removed:

let myData = await myFunction()

Should translates to:

val myData = myFunction()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant