Step 1 / 12Setup
A checkout that does everything
When a customer pays, your checkout code calls four things in a row: send a confirmation email, create the invoice, then send an analytics event. Each call waits for the answer.
This is a synchronous chain. It works in a demo. The customer waits for the sum of all the steps.
“Right now checkout calls every downstream system in sequence, so the user waits for all of them.”
←→ step·R restart·Space pause