MCPcopy Index your code
hub / github.com/nodejs/node / checkDone

Function checkDone

test/parallel/test-quic-diagnostics-channel-token.mjs:23–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21let tokenFired = false;
22
23function checkDone() {
24 if (ticketFired && tokenFired) allDone.resolve();
25}
26
27// quic.session.ticket fires when session ticket received.
28dc.subscribe('quic.session.ticket', mustCall((msg) => {

Calls 1

resolveMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…