@sentio/sdk
Preparing search index...
iota
IotaObjectProcessorTemplate
Class IotaObjectProcessorTemplate
Hierarchy
IotaObjectOrAddressProcessorTemplate
<
(
self
:
IotaMoveObject
,
dynamicFieldObjects
:
IotaMoveObject
[]
,
ctx
:
IotaObjectContext
,
)
=>
PromiseOrVoid
,
IotaObjectBindOptions
,
IotaObjectProcessor
,
>
IotaObjectProcessorTemplate
Index
Constructors
constructor
Properties
binds
id
object
Handlers
Methods
bind
create
Processor
on
Checkpoint
Interval
on
Interval
on
Time
Interval
unbind
Constructors
constructor
new
IotaObjectProcessorTemplate
()
:
IotaObjectProcessorTemplate
Returns
IotaObjectProcessorTemplate
Properties
binds
binds
:
Set
<
string
>
= ...
id
id
:
number
object
Handlers
objectHandlers
:
ObjectHandler
<
(
self
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
type
:
string
}
,
dynamicFieldObjects
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
type
:
string
;
}
[]
,
ctx
:
IotaObjectContext
,
)
=>
PromiseOrVoid
,
>
[]
= []
Methods
bind
bind
(
options
:
IotaObjectBindOptions
,
ctx
:
IotaContext
)
:
void
Parameters
options
:
IotaObjectBindOptions
ctx
:
IotaContext
Returns
void
create
Processor
createProcessor
(
options
:
IotaObjectBindOptions
)
:
IotaObjectProcessor
Parameters
options
:
IotaObjectBindOptions
Returns
IotaObjectProcessor
on
Checkpoint
Interval
onCheckpointInterval
(
handler
:
(
self
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
type
:
string
}
,
dynamicFieldObjects
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
type
:
string
;
}
[]
,
ctx
:
IotaObjectContext
,
)
=>
PromiseOrVoid
,
checkpointInterval
?:
number
,
backfillCheckpointInterval
?:
number
,
type
?:
string
,
fetchConfig
?:
Partial
<
MoveAccountFetchConfig
>
,
)
:
this
Parameters
handler
:
(
self
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
type
:
string
}
,
dynamicFieldObjects
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
type
:
string
;
}
[]
,
ctx
:
IotaObjectContext
,
)
=>
PromiseOrVoid
checkpointInterval
:
number
= 100000
backfillCheckpointInterval
:
number
= 400000
Optional
type
:
string
Optional
fetchConfig
:
Partial
<
MoveAccountFetchConfig
>
Returns
this
Protected
on
Interval
onInterval
(
handler
:
(
self
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
type
:
string
}
,
dynamicFieldObjects
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
type
:
string
;
}
[]
,
ctx
:
IotaObjectContext
,
)
=>
PromiseOrVoid
,
timeInterval
:
undefined
|
HandleInterval
,
checkpointInterval
:
undefined
|
HandleInterval
,
type
:
undefined
|
string
,
fetchConfig
:
undefined
|
Partial
<
MoveAccountFetchConfig
>
,
)
:
this
Parameters
handler
:
(
self
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
type
:
string
}
,
dynamicFieldObjects
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
type
:
string
;
}
[]
,
ctx
:
IotaObjectContext
,
)
=>
PromiseOrVoid
timeInterval
:
undefined
|
HandleInterval
checkpointInterval
:
undefined
|
HandleInterval
type
:
undefined
|
string
fetchConfig
:
undefined
|
Partial
<
MoveAccountFetchConfig
>
Returns
this
on
Time
Interval
onTimeInterval
(
handler
:
(
self
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
type
:
string
}
,
dynamicFieldObjects
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
type
:
string
;
}
[]
,
ctx
:
IotaObjectContext
,
)
=>
PromiseOrVoid
,
timeIntervalInMinutes
?:
number
,
backfillTimeIntervalInMinutes
?:
number
,
type
?:
string
,
fetchConfig
?:
Partial
<
MoveAccountFetchConfig
>
,
)
:
this
Parameters
handler
:
(
self
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
type
:
string
}
,
dynamicFieldObjects
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
type
:
string
;
}
[]
,
ctx
:
IotaObjectContext
,
)
=>
PromiseOrVoid
timeIntervalInMinutes
:
number
= 60
backfillTimeIntervalInMinutes
:
number
= 240
Optional
type
:
string
Optional
fetchConfig
:
Partial
<
MoveAccountFetchConfig
>
Returns
this
unbind
unbind
(
options
:
IotaObjectBindOptions
,
ctx
:
IotaContext
)
:
void
Parameters
options
:
IotaObjectBindOptions
ctx
:
IotaContext
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
binds
id
object
Handlers
Methods
bind
create
Processor
on
Checkpoint
Interval
on
Interval
on
Time
Interval
unbind
@sentio/sdk
Loading...