Didn’t think before posting in <#C0922A726|general...
# coroutines
j
Didn’t think before posting in #general, but this seems more appropriate to ask here.
t
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.
j
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.