An {#await ...} block

interface AwaitBlock {
    catch: null | Fragment;
    end: number;
    error: null | Pattern;
    expression: Expression;
    pending: null | Fragment;
    start: number;
    then: null | Fragment;
    type: "AwaitBlock";
    value: null | Pattern;
}

Hierarchy (View Summary)

Properties

catch: null | Fragment
end: number
error: null | Pattern

The rejection reason inside the catch block

expression: Expression
pending: null | Fragment
start: number
then: null | Fragment
type: "AwaitBlock"
value: null | Pattern

The resolved value inside the then block