{#await promise}

loading...

{:then value}

loaded

{:catch error}

errored

{/await}