(matcher?: Matcher, config: IWorkerSystemConfig = {})
| 183 | // ========================================================================= |
| 184 | |
| 185 | constructor(matcher?: Matcher, config: IWorkerSystemConfig = {}) { |
| 186 | super(matcher); |
| 187 | |
| 188 | this.platformAdapter = PlatformManager.getInstance().getAdapter(); |
| 189 | this.config = this.resolveConfig(config); |
| 190 | |
| 191 | if (this.config.enableWorker && this.isWorkerSupported()) { |
| 192 | this.initializeWorkerSystem(); |
| 193 | } |
| 194 | } |
| 195 | |
| 196 | // ========================================================================= |
| 197 | // 配置解析 | Config Resolution |
nothing calls this directly
no test coverage detected