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