DocsReference@proto-kit/indexerClassesIndexerHeightInstrumentation

@proto-kit/indexerDocs


Documentation / @proto-kit/indexer / IndexerHeightInstrumentation

Class: IndexerHeightInstrumentation

Implements

Constructors

new IndexerHeightInstrumentation()

new IndexerHeightInstrumentation(blockStorage): IndexerHeightInstrumentation

Parameters

blockStorage: BlockStorage

Returns

IndexerHeightInstrumentation

Defined in

indexer/src/IndexerHeightInstrumentation.ts:15

Properties

description

description: string = "Indexer block height"

Implementation of

PollInstrumentation.description

Defined in

indexer/src/IndexerHeightInstrumentation.ts:13


name

name: string = "indexer_block_height"

Implementation of

PollInstrumentation.name

Defined in

indexer/src/IndexerHeightInstrumentation.ts:11

Methods

poll()

poll(): Promise<number>

Returns

Promise<number>

Implementation of

PollInstrumentation.poll

Defined in

indexer/src/IndexerHeightInstrumentation.ts:20