{#await profilesPromise}
Fetching profiles...
{:then profiles} {#each profiles as profile}
{#each profile.data.members as member, idx} {#await getUsername(member)}
...
{:then username}
{username} {#if idx === 0 && profile.data.name} @ {profile.data.name} {/if}
{:catch error}
{error.message}
{/await} {/each}
{/each}
{:catch error}
{error.message}
{/await}