@ue-too/being / index / HostableStateMachine
型別別名: HostableStateMachine
HostableStateMachine =
object
The part of a state machine a DelegatingState drives.
備註
Structural on purpose: StateMachine<any, any, any, any> is not a supertype of a concrete machine because the State type is invariant in its generics, so the host is typed against just the members it calls. Every TemplateStateMachine satisfies it.
屬性
currentState
readonlycurrentState:string
happens()
happens: (...
args) =>EventResult<any,any>
參數
args
...any[]
回傳
EventResult<any, any>
方法
reset()
reset():
void
回傳
void
start()
start():
void
回傳
void
wrapup()
wrapup():
void
回傳
void