Skip to content
On this page

Function: keepStateOnLocalStorage

keepStateOnLocalStorage<ABI, ProcessResultType, ProcessorConfig>(name): object

Type parameters

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

Parameters

ParameterType
namestring

Returns

clear

clear: (context) => Promise< void >

Parameters

ParameterType
contextProcessorContext< ABI, ProcessorConfig >

Returns

Promise< void >

fetch

fetch: (context) => Promise< any >

Parameters

ParameterType
contextProcessorContext< ABI, ProcessorConfig >

Returns

Promise< any >

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/OnLocalStorage.ts:8


Generated using TypeDoc and typedoc-plugin-markdown