Not documented.
- Inheritance
- Object
- EventTarget
- Transaction
- Annotations
- DomName('IDBTransaction')
- Unstable()
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
.
Methods
-
abort(
) → void -
addEventListener(
String type, dynamic listener(Event event), [bool useCapture]) → void -
inherited
-
dispatchEvent(
Event event) → bool -
inherited
-
objectStore(
String name) → ObjectStore -
removeEventListener(
String type, dynamic listener(Event event), [bool useCapture]) → void -
inherited