The method is signaled when the object is set to signal or the timeoutinterval is finished.
当对象被设置发出信号或者超时时间段结束时,这个方法会得到通知。
2
These methods then repeat the test at the interval defined by the delay until either time runs out or the verification point passes, as shown in Listing 6.