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

Method unref

lib/internal/vfs/watcher.js:558–561  ·  view source on GitHub ↗

* Makes the timer not keep the process alive. * @returns {this}

()

Source from the content-addressed store, hash-verified

556 * @returns {this}
557 */
558 unref() {
559 this.#timer?.unref?.();
560 return this;
561 }
562
563 /**
564 * Makes the timer keep the process alive.

Callers

nothing calls this directly

Calls 1

unrefMethod · 0.45

Tested by

no test coverage detected