(props: any, { slots }: any)
| 61 | ) { |
| 62 | return { |
| 63 | setup(props: any, { slots }: any) { |
| 64 | const p = new Promise(resolve => { |
| 65 | setTimeout(() => { |
| 66 | resolve(() => h(comp, props, slots)) |
| 67 | }, delay) |
| 68 | }) |
| 69 | // in Node 12, due to timer/nextTick mechanism change, we have to wait |
| 70 | // an extra tick to avoid race conditions |
| 71 | deps.push(p.then(() => Promise.resolve())) |
| 72 | return p |
| 73 | }, |
| 74 | } |
| 75 | } |
| 76 |
nothing calls this directly
no test coverage detected