Didn’t think before posting in #general, but this seems more appropriate to ask here.
08/08/2020, 8:51 PM
The only thing I can think of is that you'd have to wrap all the java code w/ kotln code. meaning you'd have to launch the java code from kotlin (in a coroutine), and the javacode would have to call back into kotlin to suspend.
08/10/2020, 5:08 PM
as of right now, I went with exposing an async/launch method to the java code that runs under couroutines, and a coroutine scope for Kotlin code. I’m basically tying myself to kotlin for the internal implementation, but… well, I own that and want to write it in Kotlin anyway 😄 seems reasonable enough for now.