Runs the checkout handler synchronously. The browser can't paint — or respond — until every task finishes.
waiting…
Yields between tasks so the browser can paint — and respond — throughout.