Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/xstate/src/types.ts>StateConfig

State machines and statecharts for the modern web.
Go to Latest
interface StateConfig
import { type StateConfig } from "https://deno.land/x/xstate@xstate%405.0.0-beta.23/src/types.ts";

Type Parameters

TContext extends MachineContext
TEvent extends EventObject

Properties

value: StateValue
context: TContext
optional
historyValue: HistoryValue<TContext, TEvent>
optional
meta: any
optional
configuration: Array<StateNode<TContext, TEvent>>
children: Record<string, ActorRef<any>>
optional
done: boolean
optional
output: any
optional
error: unknown
optional
tags: Set<string>
optional
machine: StateMachine<TContext, TEvent, any, any, any, any>
optional
_internalQueue: Array<TEvent>