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

Simplify conversations and their JVM integrations #319

Merged
merged 2 commits into from Aug 14, 2023

Conversation

raulraja
Copy link
Contributor

This PR simplifies the way language support is built for Java and Scala by making the Conversation methods available in a JVM-specific implementation that uses a CoroutineScope with a supervisor to turn the suspend functions into versions that return CompletableFuture, and that can be consumed from other langs.
For now, the Scala lib and Java examples consume those methods in a blocking style assuming LOOM is available.

I'll leave comments on the files in the most relevant parts.

* Diff summary tool and create PR Description example

* Fixed copy pasta
Copy link
Contributor

@javipacheco javipacheco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After the conversation this morning with Raul, I understand the importance of this

Really good job! LGTM! 🚀

@raulraja raulraja merged commit a0ea826 into main Aug 14, 2023
5 checks passed
@raulraja raulraja deleted the simplify-future-integration-and-conversations branch August 14, 2023 13:05
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

Successfully merging this pull request may close these issues.

None yet

2 participants