The wait function on the event object blocks the calling thread until its state is set to signaled state.
对事件对象调用的等待函数会阻塞调用线程,直到其状态被设置为有信号状态为止。
In the well-designed application, one state of the application function will move smoothly and quickly to the state of another function.
在设计良好的应用程序中,应用程序功能的一种状态可以平衡快速地转移到另一个功能状态上。
Your callback function will run several times — each time the ready state of the request changes — and you'll see an alert for each ready state.
这个回调函数会运行多次——每次就绪状态都会改变——您可以看到每个就绪状态的警告。
应用推荐