* URL to execute. Accepts file path, server path or id relative to the root.
(url: string)
| 88 | * URL to execute. Accepts file path, server path or id relative to the root. |
| 89 | */ |
| 90 | public async import<T = any>(url: string): Promise<T> { |
| 91 | const fetchedModule = await this.cachedModule(url) |
| 92 | return await this.cachedRequest(url, fetchedModule) |
| 93 | } |
| 94 | |
| 95 | /** |
| 96 | * Clear all caches including HMR listeners. |