Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DelayedTransitionDefinition<TContext, TEvent>

Type parameters

Hierarchy

Index

Properties

actions

actions: Array<ActionObject<TContext, TEvent>>

Optional cond

cond: Guard<TContext, TEvent>

delay

delay: number | string | DelayExpr<TContext, TEvent>

eventType

eventType: TEvent["type"] | NullEvent["type"] | "*"

Optional in

Optional internal

internal: undefined | false | true

Optional meta

meta: Record<string, any>

source

source: StateNode<TContext, any, TEvent>

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

Generated using TypeDoc