Preparing search index...
The search index is not available
@sentio/sdk
@sentio/sdk
aptos
AptosResourcesProcessor
Class AptosResourcesProcessor
Index
Constructors
constructor
Properties
config
resource
Interval
Handlers
Methods
get
Chain
Id
on
Interval
on
Resource
Change
on
Time
Interval
on
Version
Interval
bind
Constructors
Protected
constructor
new
AptosResourcesProcessor
(
options
:
AptosBindOptions
)
:
AptosResourcesProcessor
Parameters
options
:
AptosBindOptions
Returns
AptosResourcesProcessor
Properties
config
config
:
IndexConfigure
resource
Interval
Handlers
resourceIntervalHandlers
:
ResourceIntervalHandler
[]
= []
Methods
get
Chain
Id
getChainId
()
:
string
Returns
string
on
Interval
onInterval
(
handler
:
(
resources
:
MoveResource
[]
,
ctx
:
AptosResourcesContext
,
)
=>
PromiseOrVoid
,
timeInterval
:
undefined
|
HandleInterval
,
versionInterval
:
undefined
|
HandleInterval
,
type
:
undefined
|
string
,
fetchConfig
:
undefined
|
Partial
<
MoveAccountFetchConfig
>
,
)
:
this
Parameters
handler
:
(
resources
:
MoveResource
[]
,
ctx
:
AptosResourcesContext
)
=>
PromiseOrVoid
timeInterval
:
undefined
|
HandleInterval
versionInterval
:
undefined
|
HandleInterval
type
:
undefined
|
string
fetchConfig
:
undefined
|
Partial
<
MoveAccountFetchConfig
>
Returns
this
on
Resource
Change
onResourceChange
<
T
>
(
handler
:
(
changes
:
ResourceChange
<
T
>
[]
,
ctx
:
AptosResourcesContext
,
)
=>
PromiseOrVoid
,
typeDesc
:
string
|
TypeDescriptor
<
T
>
,
)
:
this
Type Parameters
T
Parameters
handler
:
(
changes
:
ResourceChange
<
T
>
[]
,
ctx
:
AptosResourcesContext
)
=>
PromiseOrVoid
typeDesc
:
string
|
TypeDescriptor
<
T
>
Returns
this
on
Time
Interval
onTimeInterval
(
handler
:
(
resources
:
MoveResource
[]
,
ctx
:
AptosResourcesContext
,
)
=>
PromiseOrVoid
,
timeIntervalInMinutes
?:
number
,
backfillTimeIntervalInMinutes
?:
number
,
type
?:
string
,
fetchConfig
?:
Partial
<
MoveAccountFetchConfig
>
,
)
:
this
Parameters
handler
:
(
resources
:
MoveResource
[]
,
ctx
:
AptosResourcesContext
)
=>
PromiseOrVoid
timeIntervalInMinutes
:
number
= 60
backfillTimeIntervalInMinutes
:
number
= 240
Optional
type
:
string
Optional
fetchConfig
:
Partial
<
MoveAccountFetchConfig
>
Returns
this
on
Version
Interval
onVersionInterval
(
handler
:
(
resources
:
MoveResource
[]
,
ctx
:
AptosResourcesContext
,
)
=>
PromiseOrVoid
,
versionInterval
?:
number
,
backfillVersionInterval
?:
number
,
typePrefix
?:
string
,
fetchConfig
?:
Partial
<
MoveAccountFetchConfig
>
,
)
:
this
Parameters
handler
:
(
resources
:
MoveResource
[]
,
ctx
:
AptosResourcesContext
)
=>
PromiseOrVoid
versionInterval
:
number
= 100000
backfillVersionInterval
:
number
= 400000
Optional
typePrefix
:
string
Optional
fetchConfig
:
Partial
<
MoveAccountFetchConfig
>
Returns
this
Static
bind
bind
(
options
:
AptosBindOptions
)
:
AptosResourcesProcessor
Parameters
options
:
AptosBindOptions
Returns
AptosResourcesProcessor
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
config
resource
Interval
Handlers
Methods
get
Chain
Id
on
Interval
on
Resource
Change
on
Time
Interval
on
Version
Interval
bind
@sentio/sdk
Loading...