Function: keepStateOnLocalStorage
keepStateOnLocalStorage<
ABI
,ProcessResultType
,ProcessorConfig
>(name
):object
Type parameters
Parameter |
---|
ABI extends readonly (AbiConstructor | AbiError | AbiEvent | AbiFallback | AbiFunction | AbiReceive )[] |
ProcessResultType |
ProcessorConfig |
Parameters
Parameter | Type |
---|---|
name | string |
Returns
clear
clear: (
context
) =>Promise
<void
>
Parameters
Parameter | Type |
---|---|
context | ProcessorContext < ABI , ProcessorConfig > |
Returns
Promise
< void
>
fetch
fetch: (
context
) =>Promise
<any
>
Parameters
Parameter | Type |
---|---|
context | ProcessorContext < ABI , ProcessorConfig > |
Returns
Promise
< any
>
save
save: (
context
,all
) =>Promise
<void
>
Parameters
Parameter | Type |
---|---|
context | ProcessorContext < ABI , ProcessorConfig > |
all | object |
all.lastSync | LastSync < ABI > |
all.state | ProcessResultType |
Returns
Promise
< void
>
Defined In
packages/ethereum-indexer-browser/src/storage/state/OnLocalStorage.ts:8
Generated using TypeDoc and typedoc-plugin-markdown