{#await promise}

...waiting

{:then number}

The number is {number}

{:catch error}

{error.message}

{/await}