bug 321932 improve nsIRequest::isPending documentation

r+sr=darin
This commit is contained in:
cbiesinger%web.de 2006-01-25 16:47:12 +00:00
Родитель eba9c2663f
Коммит d3f447c6d9
1 изменённых файлов: 10 добавлений и 1 удалений

Просмотреть файл

@ -55,10 +55,19 @@ interface nsIRequest : nsISupports
readonly attribute AUTF8String name;
/**
* Indicates whether the request is pending. nsIRequest::isPending is
* true when there is an outstanding asynchronous event that will make
* the request no longer be pending. Requests do not necessarily start
* out pending; in some cases, requests have to be explicitly initiated
* (e.g. nsIChannel implementations are only pending once asyncOpen
* returns successfully).
*
* Requests can become pending multiple times during their lifetime.
*
* @return TRUE if the request has yet to reach completion.
* @return FALSE if the request has reached completion (e.g., after
* OnStopRequest has fired).
* Suspended requests are still considered pending.
* @note Suspended requests are still considered pending.
*/
boolean isPending();