As Donald Trump considered whether to launch another blistering military assault on Iran, the world waited with bated breath.