Skip to content

@ue-too/being / index / HostableStateMachine

型エイリアス: HostableStateMachine ​

HostableStateMachine = object

定義: delegating-state.ts:21

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 ​

readonly currentState: string

定義: delegating-state.ts:22


happens() ​

happens: (...args) => EventResult<any, any>

定義: delegating-state.ts:23

パラメータ ​

args ​

...any[]

戻り値 ​

EventResult<any, any>

メソッド ​

reset() ​

reset(): void

定義: delegating-state.ts:25

戻り値 ​

void


start() ​

start(): void

定義: delegating-state.ts:24

戻り値 ​

void


wrapup() ​

wrapup(): void

定義: delegating-state.ts:26

戻り値 ​

void