{#await object then { a, ...rest }}

a: {a}

rest: {JSON.stringify(rest)}

{/await} {#await array then [a, b, ...rest]}

a: {a}

b: {b}

rest: {JSON.stringify(rest)}

{/await} {#await objectReject then value} resolved {:catch { a, ...rest }}

a: {a}

rest: {JSON.stringify(rest)}

{/await} {#await arrayReject then value} resolved {:catch [a, b, ...rest]}

a: {a}

b: {b}

rest: {JSON.stringify(rest)}

{/await}