Function: keepStreamOnIndexedDB
keepStreamOnIndexedDB<
ABI
>(name
):object
Type parameters
Parameter |
---|
ABI extends readonly (AbiConstructor | AbiError | AbiEvent | AbiFallback | AbiFunction | AbiReceive )[] |
Parameters
Parameter | Type |
---|---|
name | string |
Returns
fetchFrom
fetchFrom: (
source
,fromBlock
) =>Promise
<undefined
| {eventStream
:LogEvent
<ABI
,undefined
>[];lastSync
:LastSync
<ABI
>;} >
Parameters
Parameter | Type |
---|---|
source | IndexingSource < ABI > |
fromBlock | number |
Returns
Promise
< undefined
| {eventStream
: LogEvent
< ABI
, undefined
>[]; lastSync
: LastSync
< ABI
>;} >
saveNewEvents
saveNewEvents: (
source
,stream
) =>Promise
<void
>
Parameters
Parameter | Type |
---|---|
source | IndexingSource < ABI > |
stream | StreamData < 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