@mudssky/jsutils
Preparing search index...
MachineTransitionResult
Interface MachineTransitionResult<TValue, TContext>
单次状态转移的计算结果。
interface
MachineTransitionResult
<
TValue
extends
string
,
TContext
>
{
changed
:
boolean
;
snapshot
:
MachineSnapshot
<
TValue
,
TContext
>
;
stateChanged
:
boolean
;
status
:
"matched"
|
"ignored"
|
"blocked"
;
}
Type Parameters
TValue
extends
string
状态值字面量联合类型
TContext
上下文对象类型
Index
Properties
changed
snapshot
state
Changed
status
Properties
changed
changed
:
boolean
snapshot
snapshot
:
MachineSnapshot
<
TValue
,
TContext
>
state
Changed
stateChanged
:
boolean
status
status
:
"matched"
|
"ignored"
|
"blocked"
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
changed
snapshot
state
Changed
status
@mudssky/jsutils
Loading...
单次状态转移的计算结果。