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

x/xstate/src/types.ts>InvokeConfig

State machines and statecharts for the modern web.
Go to Latest
interface InvokeConfig
import { type InvokeConfig } 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
id: string

The unique identifier for the invoked machine. If not specified, this will be the machine's own id, or the URL (from src).

optional
systemId: string
src: string | ActorBehavior<any, any>

The source of the machine to be invoked, or the machine itself.

optional
input: Mapper<TContext, TEvent, any> | any

The transition to take upon the invoked child machine reaching its final top-level state.

The transition to take upon the invoked child machine sending an error event.

optional
meta: MetaObject

Meta data related to this invocation