Join Slack
Powered by
``` fun main(args: Array<String>) { val ...
# coroutines
o
okkero
01/18/2017, 2:09 PM
Copy code
fun main(args: Array<String>) { val f = ::foo } suspend fun foo() { }
This doesn't compile stating that "Suspend functions are only allowed to be called from a coroutine or another suspend function"
6
Views
Open in Slack
Previous
Next