()
| 45 | } |
| 46 | |
| 47 | public async start(): Promise<void> { |
| 48 | if (this.started) { |
| 49 | throw new Error("PluginEngine.start() has already been called"); |
| 50 | } |
| 51 | this.started = true; |
| 52 | |
| 53 | await Promise.all(this.modules.map((plugin) => plugin.load())); |
| 54 | } |
| 55 | } |
no test coverage detected