Skip to content

Instantly share code, notes, and snippets.

@vdeturckheim
Last active May 24, 2018 12:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vdeturckheim/babfdee77911f7f9cbc321a53a75bade to your computer and use it in GitHub Desktop.
Save vdeturckheim/babfdee77911f7f9cbc321a53a75bade to your computer and use it in GitHub Desktop.

Beyond Domains

Goal

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