@sentio/sdk
Preparing search index...
sui
SuiPlugin
Class SuiPlugin
Hierarchy
Plugin
SuiPlugin
Index
Constructors
constructor
Properties
handler
Register
iota
Part
name
partition
Manager
sui
Part
supported
Handlers
Methods
configure
init
partition
preprocess
Binding
process
Binding
process
Sui
Event
process
Sui
Function
Call
process
Sui
Object
process
Sui
Object
Change
shutdown
Server
start
start
Server
state
Diff
Constructors
constructor
new
SuiPlugin
()
:
SuiPlugin
Returns
SuiPlugin
Properties
handler
Register
handlerRegister
:
HandlerRegister
= ...
iota
Part
iotaPart
:
IotaPluginPart
= ...
name
name
:
string
= 'SuiPlugin'
partition
Manager
partitionManager
:
PartitionHandlerManager
= ...
sui
Part
suiPart
:
SuiPluginPart
= ...
supported
Handlers
supportedHandlers
:
HandlerType
[]
= ...
Methods
configure
configure
(
config
:
ProcessConfigResponse
,
forChainId
?:
string
)
:
Promise
<
void
>
Parameters
config
:
ProcessConfigResponse
Optional
forChainId
:
string
Returns
Promise
<
void
>
init
init
(
config
:
InitResponse
)
:
Promise
<
void
>
Parameters
config
:
InitResponse
Returns
Promise
<
void
>
partition
partition
(
request
:
DataBinding
)
:
Promise
<
ProcessStreamResponse_Partitions
>
Parameters
request
:
DataBinding
Returns
Promise
<
ProcessStreamResponse_Partitions
>
preprocess
Binding
preprocessBinding
(
request
:
DataBinding
,
preprocessStore
:
{
[
k
:
string
]:
any
}
,
)
:
Promise
<
PreprocessResult
>
Parameters
request
:
DataBinding
preprocessStore
:
{
[
k
:
string
]:
any
}
Returns
Promise
<
PreprocessResult
>
process
Binding
processBinding
(
request
:
DataBinding
)
:
Promise
<
ProcessResult
>
Parameters
request
:
DataBinding
Returns
Promise
<
ProcessResult
>
process
Sui
Event
processSuiEvent
(
binding
:
DataBinding
)
:
Promise
<
ProcessResult
>
Parameters
binding
:
DataBinding
Returns
Promise
<
ProcessResult
>
process
Sui
Function
Call
processSuiFunctionCall
(
binding
:
DataBinding
)
:
Promise
<
ProcessResult
>
Parameters
binding
:
DataBinding
Returns
Promise
<
ProcessResult
>
process
Sui
Object
processSuiObject
(
binding
:
DataBinding
)
:
Promise
<
ProcessResult
>
Parameters
binding
:
DataBinding
Returns
Promise
<
ProcessResult
>
process
Sui
Object
Change
processSuiObjectChange
(
binding
:
DataBinding
)
:
Promise
<
ProcessResult
>
Parameters
binding
:
DataBinding
Returns
Promise
<
ProcessResult
>
shutdown
Server
shutdownServer
()
:
void
method used by action server only
Returns
void
start
start
(
request
:
StartRequest
)
:
Promise
<
void
>
Parameters
request
:
StartRequest
Returns
Promise
<
void
>
start
Server
startServer
(
port
?:
number
)
:
Promise
<
void
>
method used by action server only
Parameters
Optional
port
:
number
Returns
Promise
<
void
>
state
Diff
stateDiff
(
config
:
ProcessConfigResponse
)
:
boolean
Parameters
config
:
ProcessConfigResponse
Returns
boolean
Deprecated
The method should not be used, use ctx.states instead
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
handler
Register
iota
Part
name
partition
Manager
sui
Part
supported
Handlers
Methods
configure
init
partition
preprocess
Binding
process
Binding
process
Sui
Event
process
Sui
Function
Call
process
Sui
Object
process
Sui
Object
Change
shutdown
Server
start
start
Server
state
Diff
@sentio/sdk
Loading...
method used by action server only