Skip to content

Documentation / @etherfold/core / openIndexer

Function: openIndexer() ​

openIndexer<ABI, ProcessResultType>(options): Promise<Indexer<ABI, ProcessResultType>>

Defined in: packages/core/src/container.ts:651

The container, opened over its registry.

Asynchronous because building a generation is: the state factory opens a store, and the registry is a substrate that has to be read. See Indexer.

Type Parameters ​

ABI ​

ABI extends Abi

ProcessResultType ​

ProcessResultType = void

Parameters ​

options ​

IndexerOptions<ABI, ProcessResultType>

Returns ​

Promise<Indexer<ABI, ProcessResultType>>