(resolve)
| 368 | const thenable = { |
| 369 | pings: [], |
| 370 | then(resolve) { |
| 371 | if (newRecord.status === 'pending') { |
| 372 | thenable.pings.push(resolve); |
| 373 | } else { |
| 374 | Promise.resolve().then(() => resolve(newRecord.value)); |
| 375 | } |
| 376 | }, |
| 377 | }; |
| 378 | |
| 379 | const newRecord = { |