Not documented.
- Annotations
- DomName('IDBTransaction')
- Unstable()
- Extends
- Object
- EventTarget
- Transaction
Constants
-
EventStreamProvider<Event>
abortEvent
=
const EventStreamProvider<Event>
('abort') -
constStatic factory designed to expose
abort
events to event handlers that are not necessarily instances of Transaction. -
EventStreamProvider<Event>
completeEvent
=
const EventStreamProvider<Event>
('complete') -
constStatic factory designed to expose
complete
events to event handlers that are not necessarily instances of Transaction. -
EventStreamProvider<Event>
errorEvent
=
const EventStreamProvider<Event>
('error') -
constStatic factory designed to expose
error
events to event handlers that are not necessarily instances of Transaction.
Properties
- Future<Database> completed
-
read-onlyProvides a Future which will be completed once the transaction has completed.
- Database db
-
read-only
- DomError error
-
read-only
- String mode
-
read-only
- Events on
-
read-only, inheritedThis is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
- Stream<Event> onAbort
-
read-onlyStream of
abort
events handled by thisTransaction
. - Stream<Event> onComplete
-
read-onlyStream of
complete
events handled by thisTransaction
. - Stream<Event> onError
-
read-onlyStream of
error
events handled by thisTransaction
.