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

Make Vert.x Future compatible with Kotlin's Coroutine #28

Open
miere opened this issue Nov 11, 2022 · 1 comment
Open

Make Vert.x Future compatible with Kotlin's Coroutine #28

miere opened this issue Nov 11, 2022 · 1 comment
Labels
research Ideas which we should assess or give it a try.

Comments

@miere
Copy link
Collaborator

miere commented Nov 11, 2022

No description provided.

@miere miere added the research Ideas which we should assess or give it a try. label Nov 11, 2022
@termermc
Copy link

What do you think would be needed to implement this? I'm interested in using your project, but the way I compose code now, handlers are always suspend functions. In the past, I made an internal framework similar to this that unfortunately used reflection, but it did have support for suspend functions.

The only practical difference in the underlying call structure of a suspend function is that it takes an extra argument for the continuation. That part is of course abstracted away in Kotlin itself, but it's still there in the JVM signature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
research Ideas which we should assess or give it a try.
Projects
None yet
Development

No branches or pull requests

2 participants