{#if show} {#await thePromise}

loading...

{:then theValue}

the value is {theValue}

{:catch theError}

oh no! {theError.message}

{/await} {:else}

Else

{/if}