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

Suspend functions in Kotlin requires complex workarounds in Java #47

Open
adrian-lorenzo opened this issue Aug 2, 2023 · 0 comments
Open
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@adrian-lorenzo
Copy link
Member

Calling suspend functions from Kotlin in Java requires users to implement a complex interface called Continuation that requires knowledge about reactive/asynchronous flows or to import dependencies with non-intuitive workarounds.

More information about it here: https://www.baeldung.com/kotlin/suspend-functions-from-java

In that guide, some workarounds are suggested. We need to use the one that minimizes users' actions to achieve the best experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant