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

nhaarman

10/13/2016, 6:23 PM
When following the implementation proposed in

https://www.youtube.com/watch?v=4W3ruTWUhpw

, should the following terminate with an exception?
Copy code
fun test() {
    doSomething()
}

fun doSomething() = async<Unit> {
    TODO()
}