const sleep = (ms: number) =>
new Promise((resolve) =>
setTimeout(resolve, ms),
);
{#await data.streamed.members}
{#await sleep (200) then _}
Loading data
{/await}
{:then value}
{#each value as { id, full_name }}
{id}: {full_name}
{/each}
{/await}
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter