@thruputchain/client
Preparing search index...
index
iterateEventPages
Function iterateEventPages
iterateEventPages
(
client
:
Pick
<
RpcClient
,
"getEvents"
>
,
query
:
{
filters
:
RpcEventFilter
[]
;
limit
?:
number
}
&
{
cursor
?:
undefined
;
start
:
RpcHistoryStart
;
}
,
options
?:
TransportRequestOptions
,
)
:
AsyncGenerator
<
RpcEventPage
,
HistoryCompletion
,
unknown
>
Start a fixed event range. Saved opaque cursors remain available through getEvents.
Parameters
client
:
Pick
<
RpcClient
,
"getEvents"
>
query
:
{
filters
:
RpcEventFilter
[]
;
limit
?:
number
}
&
{
cursor
?:
undefined
;
start
:
RpcHistoryStart
;
}
options
:
TransportRequestOptions
= {}
Returns
AsyncGenerator
<
RpcEventPage
,
HistoryCompletion
,
unknown
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
@thruputchain/client
Loading...
Start a fixed event range. Saved opaque cursors remain available through getEvents.