MCPcopy Create free account
hub / github.com/chain/Core / processingLoop

Function processingLoop

docs/core/examples/node/realTimeTransactionProcessing.js:72–75  ·  view source on GitHub ↗
(tx, next, done, fail)

Source from the content-addressed store, hash-verified

70
71 // snippet processing-loop
72 const processingLoop = (tx, next, done, fail) => {
73 processTransaction(tx)
74 next(true)
75 }
76 // endsnippet
77
78 // snippet processing-thread

Callers

nothing calls this directly

Calls 2

processTransactionFunction · 0.85
nextFunction · 0.85

Tested by

no test coverage detected