Method
afterTransactionCommit
(args: TransactionEventArgs)
Source from the content-addressed store, hash-verified
| 18 | } |
| 19 | |
| 20 | async afterTransactionCommit(args: TransactionEventArgs) { |
| 21 | const { em } = args; |
| 22 | const actions = this.pendingActions.get(em); |
| 23 | if (actions) { |
| 24 | for (const action of actions) { |
| 25 | await action(); |
| 26 | } |
| 27 | } |
| 28 | this.pendingActions.delete(em); |
| 29 | } |
| 30 | |
| 31 | async afterTransactionRollback(args: TransactionEventArgs) { |
| 32 | const { em } = args; |
Callers
nothing calls this directly
Tested by
no test coverage detected