Skip to content
On this page

Function: keepStateOnIndexedDB

keepStateOnIndexedDB<ABI, ProcessResultType, ProcessorConfig>(name, remote?): object

Type parameters

Parameter
ABI extends readonly (AbiConstructor | AbiError | AbiEvent | AbiFallback | AbiFunction | AbiReceive)[]
ProcessResultType
ProcessorConfig

Parameters

ParameterType
namestring
remote?string

Returns

clear

clear: (context) => Promise< void >

Parameters

ParameterType
contextProcessorContext< ABI, ProcessorConfig >

Returns

Promise< void >

fetch

fetch: (context) => Promise< undefined | {lastSync: LastSync< ABI >; state: ProcessResultType;} >

Parameters

ParameterType
contextProcessorContext< ABI, ProcessorConfig >

Returns

Promise< undefined | {lastSync: LastSync< ABI >; state: ProcessResultType;} >

save

save: (context, all) => Promise< void >

Parameters

ParameterType
contextProcessorContext< ABI, ProcessorConfig >
allobject
all.lastSyncLastSync< ABI >
all.stateProcessResultType

Returns

Promise< void >

Defined In

packages/ethereum-indexer-browser/src/storage/state/OnIndexedDB.ts:11


Generated using TypeDoc and typedoc-plugin-markdown