(port)
| 311 | } |
| 312 | |
| 313 | function keyByPort(port) { |
| 314 | for (const [key, entry] of _pool) { |
| 315 | if (entry?.port === port) return key; |
| 316 | } |
| 317 | return ''; |
| 318 | } |
| 319 | |
| 320 | export function beginLsUse(port) { |
| 321 | const entry = getLsEntryByPort(port); |
no outgoing calls
no test coverage detected