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

Method decRef

lib/internal/util.js:885–891  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

883 }
884
885 decRef() {
886 this.#refCount--;
887 if (this.#refCount === 0) {
888 this.#strong = null;
889 }
890 return this.#refCount;
891 }
892
893 get() {
894 return this.#weak.deref();

Callers 1

afterFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected