https://kotlinlang.org logo
Title
u

user

07/22/2022, 11:21 AM
Calling Coroutine functions from Java I have written a small library for async testing in Kotlin with JUnit, which is based on coroutines with runBlocking scope. I would like to have at least some kind of interop with Java. My coroutine knowledge is limited, but my idea was that if I let Kotlin create the scope and only bridge suspend function calls in Java class, passing the Continuation created by Kotlin method to method it might work. Currently I have something like this construct class AsyncTestLibrary { fun...