Skip to content
On this page

Function: keepStreamOnIndexedDB

keepStreamOnIndexedDB<ABI>(name): object

Type parameters

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

Parameters

ParameterType
namestring

Returns

fetchFrom

fetchFrom: (source, fromBlock) => Promise< undefined | {eventStream: LogEvent< ABI, undefined >[]; lastSync: LastSync< ABI >;} >

Parameters

ParameterType
sourceIndexingSource< ABI >
fromBlocknumber

Returns

Promise< undefined | {eventStream: LogEvent< ABI, undefined >[]; lastSync: LastSync< ABI >;} >

saveNewEvents

saveNewEvents: (source, stream) => Promise< void >

Parameters

ParameterType
sourceIndexingSource< ABI >
streamStreamData< ABI >

Returns

Promise< void >

clear

clear

Defined In

packages/ethereum-indexer-browser/src/storage/stream/OnIndexedDB.ts:9


Generated using TypeDoc and typedoc-plugin-markdown