You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a java project that uses ocpi-toolkit and so far it is working great.
My question is, how to use ocpi-toolkit in java now that suspend functions are used?
I've read about java interoperability with suspend functions and it seems that the interoperability with suspend functions is not really great, or at least not great if ocpi-toolkit doesn't adapt suspend functions to be used in java(example making use of CompletableFuture or something.
Sources:
https://youtu.be/_hfBv0a09Jc?t=2159 - timestamped video talking little bit about Java interoperability KotlinConf 2017 - Introduction to Coroutines by Roman Elizarov
Hey,
I have a java project that uses
ocpi-toolkit
and so far it is working great.My question is, how to use
ocpi-toolkit
in java now that suspend functions are used?I've read about java interoperability with suspend functions and it seems that the interoperability with suspend functions is not really great, or at least not great if
ocpi-toolkit
doesn't adapt suspend functions to be used in java(example making use of CompletableFuture or something.Sources:
https://youtu.be/_hfBv0a09Jc?t=2159 - timestamped video talking little bit about Java interoperability KotlinConf 2017 - Introduction to Coroutines by Roman Elizarov
https://stackoverflow.com/questions/52869672/call-kotlin-suspend-function-in-java-class
The text was updated successfully, but these errors were encountered: