(data, fin)
| 911 | }, |
| 912 | |
| 913 | onSessionQlog(data, fin) { |
| 914 | if (this[kOwner] === undefined) { |
| 915 | // Qlog data can arrive during ngtcp2_conn creation, before the |
| 916 | // QuicSession JS wrapper exists. Cache until the wrapper is ready. |
| 917 | this._pendingQlog ??= []; |
| 918 | this._pendingQlog.push(data, fin); |
| 919 | return; |
| 920 | } |
| 921 | debug('session qlog callback', this[kOwner]); |
| 922 | this[kOwner][kQlog](data, fin); |
| 923 | }, |
| 924 | |
| 925 | /** |
| 926 | * Called when a new stream has been received for the session |