Skip to content

Instantly share code, notes, and snippets.

What would you like to do?

Beyond Domains


The goal of this document is to analysis the content of the Domain Module Postmortem to define the need for either:

  • a new internal API in Node.js core (SOLUTION 1)
  • a solution to update domain API to have TSC reconsider its deprecation status (SOLUTION 2)
  • an external API to replace domain only in userland (SOLUTION 3)

Note: domain is still used in Node.js core in the REPL. Removing the usage of domain from there is non trivial. Also, domain API serves a certain need in the REPL and this need to still be covered by all solutions. This seems to be a strong case for SOLUTIONS 1 and 2.

Post-mortem review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment