WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

mozIStorageProgressHandler

IID:a3a6fcd4-bf89-4208-a837-bf2a73afd30c
Inherits From:nsISupports

MozIProgressHandler is to be implemented by storage consumers that wish to receive callbacks during the request execution.


Methods

PRBool onProgress ( mozIStorageConnection connection )

PRBool onProgress ( mozIStorageConnection connection )

OnProgress is invoked periodically during long running calls.

Arguments:
connection: connection, for which progress handler is invoked.
Returns:
true to abort request, false to continue work.

References

This interface is passed as an argument to the following methods:

mozIStorageConnection.setProgressHandler

This interface is returned from the following methods:

mozIStorageConnection.removeProgressHandler, mozIStorageConnection.setProgressHandler

Reference documentation is generated from Mozilla's source.