Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

mozIStorageAsyncStatement

This article needs a technical review. How you can help.

An asynchronous SQL statement.

This differs from mozIStorageStatement by only being usable for asynchronous execution. (mozIStorageStatement can be used for both synchronous and asynchronous purposes.) This specialization for asynchronous operation allows us to avoid needing to acquire synchronization primitives also used by the asynchronous execution thread. In contrast, mozIStorageStatement may need to acquire the primitives and consequently can cause the main thread to lock for extended intervals while the asynchronous thread performs some long-running operation.

Inherited interface

mozIStorageBaseStatement

See also

Document Tags and Contributors

Tags: 
 Contributors to this page: Zorbing, Sheppy, sitegui
 Last updated by: Zorbing,