import { type InvokeDefinition } from "https://deno.land/x/xstate@xstate%405.0.0-beta.13/src/types.ts";
Type Parameters
TContext extends MachineContext
TEvent extends EventObject
Properties
optional
onDone: string | SingleOrArray<TransitionConfig<TContext, DoneInvokeEvent<any>>>The transition to take upon the invoked child machine reaching its final top-level state.
optional
onError: string | SingleOrArray<TransitionConfig<TContext, ErrorEvent<any>>>The transition to take upon the invoked child machine sending an error event.
optional
onSnapshot: string | SingleOrArray<TransitionConfig<TContext, SnapshotEvent<any>>>toJSON: () => Omit<InvokeDefinition<TContext, TEvent>, "onDone" | "onError" | "toJSON">
meta: MetaObject | undefined