Join Slack
Powered by
<@U3U3P3GCT> Is there a way to have it block until...
# coroutines
i
Ian
04/06/2017, 2:31 PM
@nekoinemo
Is there a way to have it block until it hits the first suspension, as
thread {}
appears to do?
e
elizarov
04/06/2017, 3:15 PM
That is not what
thread {}
does.
thread {}
works like
launch {}
.
k
kenkyee
04/06/2017, 10:11 PM
And why would you want to do that? Seems like a weird thing to do
i
Ian
04/09/2017, 1:00 AM
Ken, it's complicated :/
e
elizarov
04/09/2017, 10:22 AM
Btw, I'm adding feature into the next version of kotlinx.coroutines for some UI optimizations, but I am still curious about your usecase too.
4
Views
Open in Slack
Previous
Next