Join Slack
Powered by
You should not use `Thread.sleep(...)` inside a co...
# tornadofx
e
elizarov
01/14/2017, 6:57 AM
You should not use
Thread.sleep(...)
inside a coroutine. We'll have an inspection to warn you.
Thread.sleep
is
thread blocking
. You'll use a non-blocking
suspend fun sleep(...)
3
Views
Open in Slack
Previous
Next