Optional
getGets the events which are expected and emitted by the machine
Gets the events which are expected and emitted by the machine
Optional
sourceName: stringOptional
initialContextZodSchema: zod.ZodObject<any>The machine created by xstate's createMachine
. It can be
used in any xstate-compatible actor for execution.
A key-value map where the keys are event names, and the values are corresponding transformation functions. These functions are executed after receiving an event but before the event is ingested by the machine.
A key-value pair that instructs the orchestration actor to emit an event when a certain state is reached.
TLogic - The type of logic associated with the orchestration actor.
Generated using TypeDoc
Represents the output of the
createOrchestrationMachine
function. This type encapsulates the machine created by xstate'screateMachine
function, along with additional configurations for handling orchestration events and states.