{#await promise}

loading...

{:then value}

{value}

{:catch error}

{error.message}

{/await}