DecideNode
Properties
Section titled “Properties”choices?
Section titled “choices?”optional choices?: ChoiceOption[];confirmGate?
Section titled “confirmGate?”optional confirmGate?: ConfirmGate;decide?
Section titled “decide?”optional decide?: (data, state) => | Transition| Promise<Transition>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
Returns
Section titled “Returns”| Transition
| Promise<Transition>
id: string;instructions
Section titled “instructions”instructions: Instructions;kind: "decide";schema?
Section titled “schema?”optional schema?: StandardSchemaV1<unknown, unknown>;