{#await thePromise} loading... {:then r} {#if r.length < 1}

promise array is empty

{:else}

promise array is not empty

{/if} {/await}