Closed csp197 closed 5 years ago
Yes, this namespace can be accessed from any other file (a module running in the same NodeJS process).
Gotcha 👍
I wanted to ask if there a more elegant way than declaring the cls namespace variable
var ns = require('express-http-context').ns;
I was reading over node-request-context's README and I saw the getNamespace function which allows accessing a namespace set in one file to be accessed from another file.
Is there such a functionality in this package?