readyState

The readyState read-only property of the IDBRequest interface returns the state of the request.

MDN Reference