()
| 206 | } |
| 207 | |
| 208 | async shutdown(): Promise<void> { |
| 209 | await Promise.allSettled( |
| 210 | [...this.sessionsByLeaseId.values()].map(async (session) => await this.closeSession(session)), |
| 211 | ); |
| 212 | this.sessionsByLeaseId.clear(); |
| 213 | } |
| 214 | |
| 215 | private async allocate( |
| 216 | lease: DeviceLease, |
no test coverage detected