Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/xstate/src/types.ts>Edge

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

Type Parameters

TContext extends MachineContext
TEvent extends EventObject
optional
TEventType extends TEvent["type"] = string

Properties

event: TEventType
optional
cond: GuardConfig<TContext, TEvent & { type: TEventType; }>
actions: Array<Action<TContext, TEvent>>
optional
meta: MetaObject