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

Method ref

lib/internal/worker.js:497–502  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

495 }
496
497 ref() {
498 if (this[kHandle] === null) return;
499
500 this[kHandle].ref();
501 this[kPublicPort].ref();
502 }
503
504 unref() {
505 if (this[kHandle] === null) return;

Callers 1

terminateMethod · 0.95

Calls 1

refMethod · 0.65

Tested by

no test coverage detected