()
| 243 | } |
| 244 | |
| 245 | async awaitResolution(): Promise<RpcPayload> { |
| 246 | if (!this.activePull) { |
| 247 | this.session.sendPull(this.importId); |
| 248 | this.activePull = Promise.withResolvers<void>(); |
| 249 | } |
| 250 | await this.activePull.promise; |
| 251 | return this.resolution!.pull(); |
| 252 | } |
| 253 | |
| 254 | dispose() { |
| 255 | if (this.resolution) { |
no test coverage detected