In Svelte, await blocks are a tidy little way of displaying data received in a promise. Promises are used when a result cannot be returned immediately. A classic example is fetching data from an external API, which is not normally immediate. The promise is kind of a placeholder returned initially, while the requested data is still on its way. The await block in Svelte has three arms. The first it for what you display, while you wait for the promise to resolve. You might show a loading indicator or alternatively any available, albeit, stale data. The second arm is used for the content which you want to show once the promise resolves. As you would expect, you can access the promise result here and use it in whatever you render. Finally, we have an optional catch arm. We use this when the promise fails to resolve. You might show a “try again later” message or just the previously available data.