()
| 299 | // Serialized for passing to GUI |
| 300 | // Load for just awaiting current config load promise for the profile |
| 301 | async getSerializedConfig(): Promise< |
| 302 | ConfigResult<BrowserSerializedContinueConfig> |
| 303 | > { |
| 304 | await this.isInitialized; |
| 305 | if (!this.currentProfile) { |
| 306 | return { |
| 307 | config: undefined, |
| 308 | errors: undefined, |
| 309 | configLoadInterrupted: true, |
| 310 | }; |
| 311 | } |
| 312 | return await this.currentProfile.getSerializedConfig( |
| 313 | this.additionalContextProviders, |
| 314 | ); |
| 315 | } |
| 316 | |
| 317 | async loadConfig(): Promise<ConfigResult<ContinueConfig>> { |
| 318 | await this.isInitialized; |
no outgoing calls
no test coverage detected