Join Slack
Powered by
hi, how do you evaluate an expression that calls a...
# coroutines
j
Jrichards1408
04/12/2021, 1:29 PM
hi, how do you evaluate an expression that calls a suspense function? i get an error saying suspense function is not supported in evaluation
l
louiscad
04/12/2021, 6:20 PM
In debugger? Not supported for now. Did you try wrapping with
runBlocking
?
d
dewildte
04/12/2021, 9:12 PM
suspe*nd* 😉
j
Joffrey
04/13/2021, 7:19 AM
I think it's supported in the latest IDEA version now, but didn't check again myself
j
Jrichards1408
04/13/2021, 8:37 AM
Yea i tried runBlocking. i am using the latest version of android studio IDE
j
Joffrey
04/13/2021, 8:38 AM
Ah maybe android studio is lacking behind, I'm not sure
j
Jrichards1408
04/13/2021, 8:38 AM
ahh ok
6
Views
Open in Slack
Previous
Next