MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / runTransactionPostCommitWork

Method runTransactionPostCommitWork

transaction.go:1106–1108  ·  view source on GitHub ↗

runTransactionPostCommitWork executes monitor checks, post-hooks, and post-transaction actions for already-persisted work items outside the locked persistence path.

(ctx context.Context, span trace.Span, orderedBalances []*model.Balance, postCommitWork []queuedBatchPostCommitWork)

Source from the content-addressed store, hash-verified

1104// runTransactionPostCommitWork executes monitor checks, post-hooks, and post-transaction
1105// actions for already-persisted work items outside the locked persistence path.
1106func (l *LedgerForge) runTransactionPostCommitWork(ctx context.Context, span trace.Span, orderedBalances []*model.Balance, postCommitWork []queuedBatchPostCommitWork) {
1107 l.runTransactionPostCommitWorkWithHooks(ctx, span, orderedBalances, postCommitWork, nil)
1108}
1109
1110// runTransactionPostCommitWorkWithHooks executes monitor checks, post-hooks, and
1111// post-transaction actions for persisted work items, optionally reusing a preloaded hook set.

Callers 2

Tested by

no test coverage detected