Creates an internal echo state to clear the event cache in an orchestrator's memory.
This is particularly useful for handling loop-like structures in the state machine.
Type Parameters
TContext extends Record<string, any>
The context type that extends a record of string keys to any type.
Parameters
target: string
The target state to transition to upon successful completion of the event.
Creates an internal echo state to clear the event cache in an orchestrator's memory. This is particularly useful for handling loop-like structures in the state machine.