IDBRequest$Typings<T> extension

on

Properties

addEventListener → ({void Function<K$>(IDBRequestEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on IDBRequest<T>, provided by the IDBRequest$Typings extension

Overload accessor: $1, $2
no setter
error DOMException?

Available on IDBRequest<T>, provided by the IDBRequest$Typings extension

When a request is completed, returns the error (a DOMException), or null if the request succeeded. Throws a "InvalidStateError" DOMException if the request is still pending.
no setter
onerror ↔ dynamic Function(Event)?

Available on IDBRequest<T>, provided by the IDBRequest$Typings extension

MDN Reference
getter/setter pair
onsuccess ↔ dynamic Function(Event)?

Available on IDBRequest<T>, provided by the IDBRequest$Typings extension

MDN Reference
getter/setter pair
readyState IDBRequestReadyState

Available on IDBRequest<T>, provided by the IDBRequest$Typings extension

Returns "pending" until a request is complete, then returns "done".
no setter
removeEventListener → ({void Function<K$>(IDBRequestEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on IDBRequest<T>, provided by the IDBRequest$Typings extension

Overload accessor: $1, $2
no setter
result → T

Available on IDBRequest<T>, provided by the IDBRequest$Typings extension

When a request is completed, returns the result, or undefined if the request failed. Throws a "InvalidStateError" DOMException if the request is still pending.
no setter
source Object

Available on IDBRequest<T>, provided by the IDBRequest$Typings extension

Returns the IDBObjectStore, IDBIndex, or IDBCursor the request was made against, or null if is was an open request.
no setter
transaction IDBTransaction?

Available on IDBRequest<T>, provided by the IDBRequest$Typings extension

Returns the IDBTransaction the request was made within. If this as an open request, then it returns an upgrade transaction while it is running, or null otherwise.
no setter