@ue-too/being / index / HostableStateMachine
型エイリアス: HostableStateMachine
HostableStateMachine =
object
The part of a state machine a DelegatingState drives.
Remarks
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