是否有新的 Timer API 允许我执行此操作?
await timer.wait(500);
基本上,休眠 X 毫秒,然后恢复执行函数的其余部分
Try use
await Task.Delay(500);