(sessionId, session)
| 426 | } |
| 427 | |
| 428 | function onnewsessionclient(sessionId, session) { |
| 429 | debug('client emit session'); |
| 430 | const owner = this[owner_symbol]; |
| 431 | const wrappedSession = wrapSessionState(session, owner[kConnectOptions]); |
| 432 | if (owner[kIsVerified]) { |
| 433 | owner.emit('session', wrappedSession); |
| 434 | } else { |
| 435 | owner[kPendingSession] = wrappedSession; |
| 436 | } |
| 437 | } |
| 438 | |
| 439 | function onnewsession(sessionId, session) { |
| 440 | debug('onnewsession'); |
nothing calls this directly
no test coverage detected