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

Method constructor

lib/domain.js:199–208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

197
198class Domain extends EventEmitter {
199 constructor() {
200 super();
201
202 this.members = [];
203 this[kWeak] = new WeakReference(this);
204 asyncHook.enable();
205
206 this.on('removeListener', updateExceptionCapture);
207 this.on('newListener', updateExceptionCapture);
208 }
209}
210
211exports.Domain = Domain;

Callers

nothing calls this directly

Calls 2

enableMethod · 0.45
onMethod · 0.45

Tested by

no test coverage detected