node:domain
Node.js domain module, resolvable via both ESM import and CommonJS require.
node:domain is deprecated in Node itself. Elide provides the
> surface for compatibility, but it is pass-through only — it does not
> intercept or route errors the way Node's domains do.
| Export | Description |
|---|---|
Domain | Class exposing run, bind, intercept, enter, exit, and related methods, plus the EventEmitter surface. |
create() / createDomain() | Create a Domain. |
active | Always null. |
See also
- Node.js upstream: