MCPcopy Create free account
hub / github.com/nodejs/node / onSessionQlog

Function onSessionQlog

lib/internal/quic/quic.js:913–923  ·  view source on GitHub ↗
(data, fin)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

debugFunction · 0.50
pushMethod · 0.45

Tested by

no test coverage detected