Re:Hard-won lessons: Five years with Node.js
by jcheng on Wednesday April 19, 2017 @10:31PM
(#14153499)
Domains were Node's answer to that, and it seemed to work pretty well. I adopted the approach for my own web framework (not JS based) and it has been an extremely useful abstraction.
They're soft-deprecated in Node now though, and AFAICT work on a replacement has stalled.
They're soft-deprecated in Node now though, and AFAICT work on a replacement has stalled.
https://nodejs.org/api/domain.html