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

Method unref

lib/internal/worker/io.js:454–460  ·  view source on GitHub ↗

* @returns {BroadcastChannel}

()

Source from the content-addressed store, hash-verified

452 * @returns {BroadcastChannel}
453 */
454 unref() {
455 if (!isBroadcastChannel(this))
456 throw new ERR_INVALID_THIS('BroadcastChannel');
457 if (this[kHandle])
458 this[kHandle].unref();
459 return this;
460 }
461}
462
463ObjectDefineProperties(BroadcastChannel.prototype, {

Callers 9

constructorMethod · 0.45
constructorMethod · 0.45
#onChangeMethod · 0.45
setupPortReferencingFunction · 0.45
removeListenerFunction · 0.45
constructorMethod · 0.45
handleMessageFromThreadFunction · 0.45
setupMainThreadPortFunction · 0.45

Calls 1

isBroadcastChannelFunction · 0.85

Tested by

no test coverage detected