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

Function processResults

transaction.go:572–588  ·  view source on GitHub ↗

processResults processes the results from the results channel, collecting transactions and errors. It locks access to shared data to ensure thread safety and signals completion when done. Parameters: - results chan BatchJobResult: The channel from which to receive results. - mu *sync.Mutex: A mutex

(results chan BatchJobResult, mu *sync.Mutex, allTxns *[]*model.Transaction, allErrors *[]error, done chan struct{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 3

LockMethod · 0.45
WarnMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected