Join Slack
Powered by
This code fails to compile because "Suspension fun...
# coroutines
c
ctierney
05/24/2017, 8:13 AM
This code fails to compile because "Suspension functions can be called only within coroutine body." I'm confused, because I am calling it within
launch
. What is the correct way to do this (launch a separate coroutine for each file, and be able to call a suspending function with each line)?
-.txt
Open in Slack
Previous
Next