https://kotlinlang.org logo
#coroutines
Title
# coroutines
j

JoeHegarty

05/17/2018, 3:39 AM
Is there a standard agreed idiom for exposing suspending functions to Java. For high level entry points specifically.
Copy code
suspend fun start() = ...
fun startAsync() = future { start() }
fun startBlocking() = runBlocking { start() }
or similar?