Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface InvokeDefinition<TContext, TEvent>

Type parameters

Hierarchy

Index

Properties

Properties

Optional data

data: Mapper<TContext, TEvent> | PropertyMapper<TContext, TEvent>

Data from the parent machine's context to set as the (partial or full) context for the invoked child machine.

Data should be mapped to match the child machine's context shape.

Optional exec

exec: ActionFunction<TContext>

The implementation for executing the action.

Optional forward

forward: undefined | false | true

Whether any events sent to the parent are forwarded to the invoked child machine.

id

id: string

src

src: string | Machine<any, any, any> | InvokeCreator<any, TContext>

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

type

type: string

Generated using TypeDoc