()
| 342 | } |
| 343 | |
| 344 | private async awaitLoadModulesPromise(): Promise<void> { |
| 345 | let startingPromise; |
| 346 | do { |
| 347 | startingPromise = this.latestLoadModulesPromise; |
| 348 | await startingPromise; |
| 349 | } while (startingPromise !== this.latestLoadModulesPromise); |
| 350 | } |
| 351 | |
| 352 | private extendLoadModulesPromise<T>(loadNewModulesPromise: Promise<T>): Promise<T> { |
| 353 | this.latestLoadModulesPromise = Promise.all([ |
no outgoing calls
no test coverage detected