Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface InvokeDefinition<TContext, TEvent>

Type parameters

Hierarchy

Indexable

[other: string]: any

Index

Properties

Optional autoForward

autoForward: undefined | false | true

If true, events sent to the parent service will be forwarded to the invoked service.

Default: false

Optional data

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

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, TEvent>

The implementation for executing the action.

Optional forward

forward: undefined | false | true
deprecated

Use autoForward property instead of forward. Support for forward will get removed in the future.

id

id: string

src

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

type

type: string

Generated using TypeDoc