(state: WrapperState)
| 392 | const result = state.bindSession(sessionContext); |
| 393 | if (feedPolicy === 'close-until-runtime-ready') { |
| 394 | await notifySessionBound(deps, feedPolicy); |
| 395 | } |
| 396 | if (result.changed) { |
| 397 | logToFile( |
| 398 | `session binding refreshed: generation=${binding.wrapperGeneration ?? 'none'} connectionId=${binding.wrapperConnectionId ?? 'none'}` |
| 399 | ); |
| 400 | if (state.isConnected) { |
| 401 | await deps.closeConnection(); |
no test coverage detected