{#await thePromise then}

the promise is resolved

{:catch theError}

oh no! {theError.message}

{/await}
{#await thePromise then}

the promise is resolved

{/await}
{#await thePromise}

the promise is pending

{:then}

the promise is resolved

{/await}