@sentio/sdk
Preparing search index...
iota
IotaWrappedObjectProcessorTemplate
Class IotaWrappedObjectProcessorTemplate
Hierarchy
IotaObjectOrAddressProcessorTemplate
<
(
dynamicFieldObjects
:
IotaMoveObject
[]
,
ctx
:
IotaObjectContext
,
)
=>
PromiseOrVoid
,
IotaObjectBindOptions
,
IotaWrappedObjectProcessor
,
>
IotaWrappedObjectProcessorTemplate
Index
Constructors
constructor
Properties
binds
id
object
Handlers
Methods
bind
create
Processor
on
Checkpoint
Interval
on
Interval
on
Time
Interval
unbind
Constructors
constructor
new
IotaWrappedObjectProcessorTemplate
()
:
IotaWrappedObjectProcessorTemplate
Returns
IotaWrappedObjectProcessorTemplate
Properties
binds
binds
:
Set
<
string
>
= ...
id
id
:
number
object
Handlers
objectHandlers
:
ObjectHandler
<
(
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
)
:
IotaWrappedObjectProcessor
Parameters
options
:
IotaObjectBindOptions
Returns
IotaWrappedObjectProcessor
on
Checkpoint
Interval
onCheckpointInterval
(
handler
:
(
dynamicFieldObjects
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
type
:
string
;
}
[]
,
ctx
:
IotaObjectContext
,
)
=>
PromiseOrVoid
,
checkpointInterval
?:
number
,
backfillCheckpointInterval
?:
number
,
type
?:
string
,
fetchConfig
?:
Partial
<
MoveAccountFetchConfig
>
,
)
:
this
Parameters
handler
:
(
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
:
(
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
:
(
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
:
(
dynamicFieldObjects
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
type
:
string
;
}
[]
,
ctx
:
IotaObjectContext
,
)
=>
PromiseOrVoid
,
timeIntervalInMinutes
?:
number
,
backfillTimeIntervalInMinutes
?:
number
,
type
?:
string
,
fetchConfig
?:
Partial
<
MoveAccountFetchConfig
>
,
)
:
this
Parameters
handler
:
(
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...