Sleep 等待指定毫秒时间 Thread 函数提供异步执行的能力 Thread(()=>{ Sleep(5000) Toast.show('5秒后执行') }) Toast.show('hello ')