@sentio/sdk
Preparing search index...
iota
IotaWrappedObjectProcessorTemplate
Class IotaWrappedObjectProcessorTemplate
Hierarchy
IotaObjectOrAddressProcessorTemplate
<
(
dynamicFieldObjects
:
IotaMoveObject
[]
,
ctx
:
IotaObjectContext
,
)
=>
PromiseOrVoid
,
IotaObjectBindOptions
,
IotaWrappedObjectProcessor
,
>
IotaWrappedObjectProcessorTemplate
Index
Constructors
constructor
Properties
id
instances
object
Handlers
Methods
bind
create
Processor
on
Checkpoint
Interval
on
Interval
on
Time
Interval
start
Instance
unbind
Constructors
constructor
new
IotaWrappedObjectProcessorTemplate
()
:
IotaWrappedObjectProcessorTemplate
Returns
IotaWrappedObjectProcessorTemplate
Properties
id
id
:
number
instances
instances
:
Set
<
string
>
= ...
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
start
Instance
startInstance
(
options
:
IotaObjectBindOptions
,
ctx
:
IotaContext
)
:
void
Parameters
options
:
IotaObjectBindOptions
ctx
:
IotaContext
Returns
void
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
id
instances
object
Handlers
Methods
bind
create
Processor
on
Checkpoint
Interval
on
Interval
on
Time
Interval
start
Instance
unbind
@sentio/sdk
Loading...