1export function load () { 2 let thenAlreadyAccessed = false; 3 return { 4 get then() { 5 if (thenAlreadyAccessed) throw new Error('must not call'); 6 thenAlreadyAccessed = true; 7 return (_, reject) => reject(); 8 } 9 }; 10} 11