await does not return the value of a future with the value set in a thread

后端 未结 0 537
情书的邮戳
情书的邮戳 2020-12-31 21:39

This code should print "hi" 3 times, but it doesn\'t always print.

I made a gif that shows the code being executed:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题