Properties
Optional cond
cond
: Guard<TContext, TEvent>
eventType
eventType: TEvent["type"] | NullEvent["type"] | "*"
Optional internal
internal: undefined | false | true
Optional meta
meta: Record<string, any>
target
target
: Array<StateNode<TContext, any, TEvent>> | undefined
toJSON
toJSON
: () => { actions
: Array<ActionObject<TContext, TEvent>>; cond
?: Guard<TContext, TEvent>; eventType
: TEvent["type"] | NullEvent["type"] | "*"; meta
?: Record<string, any>; source
: string; target
: string[] | undefined }
Type declaration
-
- (): { actions: Array<ActionObject<TContext, TEvent>>; cond?: Guard<TContext, TEvent>; eventType: TEvent["type"] | NullEvent["type"] | "*"; meta?: Record<string, any>; source: string; target: string[] | undefined }
-
Returns { actions: Array<ActionObject<TContext, TEvent>>; cond?: Guard<TContext, TEvent>; eventType: TEvent["type"] | NullEvent["type"] | "*"; meta?: Record<string, any>; source: string; target: string[] | undefined }
-
actions: Array<ActionObject<TContext, TEvent>>
-
Optional cond?: Guard<TContext, TEvent>
-
eventType: TEvent["type"] | NullEvent["type"] | "*"
-
Optional meta?: Record<string, any>
-
source: string
-
target: string[] | undefined