MCPcopy Index your code
hub / github.com/subquery/subql / monitorWrite

Function monitorWrite

packages/node-core/src/process.ts:21–23  ·  view source on GitHub ↗
(blockData: string | (() => string))

Source from the content-addressed store, hash-verified

19
20// Function argument is to allow for lazy evaluation only if monitor service is enabled
21export function monitorWrite(blockData: string | (() => string)): void {
22 monitorService?.write(blockData);
23}
24
25export function monitorCreateBlockStart(blockNumber: number): void {
26 monitorService?.createBlockStart(blockNumber);

Callers 15

internalIndexBlockFunction · 0.90
indexDataFunction · 0.90
initUpgradeServiceMethod · 0.90
putMethod · 0.90
getMethod · 0.90
getByFieldMethod · 0.90
getByFieldsMethod · 0.90
getOneByFieldMethod · 0.90
setMethod · 0.90
bulkCreateMethod · 0.90
bulkUpdateMethod · 0.90
bulkRemoveMethod · 0.90

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected