()
| 53 | const deps: Promise<any>[] = [] |
| 54 | const Child = { |
| 55 | async setup() { |
| 56 | const p = new Promise(r => setTimeout(r, 1)) |
| 57 | deps.push(p.then(() => Promise.resolve())) |
| 58 | |
| 59 | await p |
| 60 | return () => h('div', 'async') |
| 61 | }, |
| 62 | } |
| 63 | |
| 64 | const Wrapper = { |