Join Slack
Powered by
I need to let the threads execute in parallel, but...
# coroutines
s
sailxjx
11/15/2017, 8:10 AM
I need to let the threads execute in parallel, but the whole time cost will be 1s. When use
delay(1000)
, the code will finish in 1s. But use
sleep
, the code may execute in a long time
Open in Slack
Previous
Next