Join Slack
Powered by
Blocking a thread in a coroutine is bad. If you ne...
# coroutines
d
diesieben07
12/13/2017, 1:14 AM
Blocking a thread in a coroutine is
bad
. If you need to interact with a blocking API like
CountDownLatch
you usually have to do the blocking in a
new
thread or use a threadpool.
Open in Slack
Previous
Next