The AI call fails. Does the enquiry survive?
A fictional request arrives. The optional draft step times out. Choose the order of operations before running it.
Read the principle
Keep the original before attempting optional work. In the full source app, an operator requests the draft separately after the enquiry has been saved.
await draft();
await save();
// or
await save();
await draft();- Pick a design, then run the simulation.