concept promise in category svelte
appears as: promises, promise

This is an excerpt from Manning's book Svelte and Sapper in Action.
awaitwaits for a promise to resolve and renders something using that data.
{#each people as person (person.id)} <div>{person.name} is {person.age} years old.</div> {/each}