Generate server-rendered pages and routes on demand with an adapter.| Docs
The await operator is used to wait for a Promise and get its fulfillment value. It can only be used inside an async function or at the top level of a module.| MDN Web Docs
When rendering a page, Astro provides a runtime API specific to the current render. This includes useful information such as the current page URL as well as APIs to perform actions like redirecting to another page.| Docs