Join Slack
Powered by
Working around tail-call restriction is conceptual...
# coroutines
e
elizarov
12/27/2016, 6:06 PM
Working around tail-call restriction is conceptually very easy. Just do
suspend fun myFunction() = await(async { … body … })
, but you can directly write more efficient version that does not create a future for that.
Open in Slack
Previous
Next