In fact, one consequence of the aggressive timer is that it might abort a service request and fail a transaction that otherwise would have completed given more time.
事实上,主动计时器的一个后果是,可能会终止服务请求并让事务失败,而在其他情况下提供更多的时间就可能会完成这些事务。
Calling abort on a successfully completed request won't do anything and onreadystatechange is set to an empty function just in case the browser gets a delayed response for an old request.
在成功完成了的请求上调用abort不起任何作用,并且仅当浏览器收到一个对旧请求的延时响应的情况下,onreadystatechange才被设置为一个空函数。
A good strategy that works in many cases is to abort a request and resend it if you don't get a response in a reasonable time frame.
在这种情况下,如果在合理的时间段内没有得到响应,不妨采用一种有效策略:中止请求然后重新发送。
Some phases will abort the request if no module returns OK (i. e., if no modules will touch the request).
如果没有模块返回OK某些阶段会中止请求(即,如没有模块要应答要求)。
Some phases will abort the request if no module returns OK (i. e., if no modules will touch the request).
如果没有模块返回OK某些阶段会中止请求(即,如没有模块要应答要求)。
应用推荐