AbstractProtectedconstructorStarts a transaction and sends transaction:begin.
The identifier listeners will see.
Sends transaction:commit for this id.
Calls every listener registered for an event name.
The event to send.
The value listeners receive.
Removes one listener for an event name.
The event the listener was registered for.
The same function passed to on.
Registers a listener for one event name.
The event to listen for.
Called with that event's payload.
Sends transaction:abort for this id.
A transaction that announces begin, commit, and abort.
💡 Constructing it sends
transaction:begin.Example
See
DbmsTransactionInterface