{#await promise}

Loading

{:then data} {:catch err}

Error: {err}

{/await}