Skip to content
v0.18 のドキュメントを表示しています。最新バージョンは v0.20 です。 最新のドキュメントへ

@ue-too/being / index / ChildStateMachineConfig

インターフェイス: ChildStateMachineConfig<EventPayloadMapping, Context, ChildStates, EventOutputMapping> ​

定義: hierarchical.ts:47

Configuration for a composite state's child state machine.

型パラメーター ​

EventPayloadMapping ​

EventPayloadMapping = any

Event payload mapping

Context ​

Context extends BaseContext = BaseContext

Context type

ChildStates ​

ChildStates extends string = string

Child state names

EventOutputMapping ​

EventOutputMapping extends Partial<Record<keyof EventPayloadMapping, unknown>> = DefaultOutputMapping<EventPayloadMapping>

Event output mapping

プロパティ ​

defaultChildState ​

defaultChildState: ChildStates

定義: hierarchical.ts:63

Default child state to enter when parent state is entered


rememberHistory? ​

optional rememberHistory: boolean

定義: hierarchical.ts:65

Whether to remember the last active child state (history state)


stateMachine ​

stateMachine: StateMachine<EventPayloadMapping, Context, ChildStates, EventOutputMapping>

定義: hierarchical.ts:56

The child state machine instance