node-continuation-local-storage
node-continuation-local-storage copied to clipboard
implementation of https://github.com/joyent/node/issues/5243
I've run into an issue when throwing an error from a promise chain (even if the error is caught and handled) that is wrapped in TypeScript's async/await generator. It seems...
Hi guys I used your library as a dependency of zipkin package. And I spent 2 days and realized this context doesn't work with await at all ```js var createNamespace...
We are creating the namespace and setting a variable called `gtid` in one of the middle ware and then trying to read that value for logging. We are getting the...
Hi, We tried using continuation-local-storage in a loopback application. The value was set at the entry point (server.js) and inside the api-method, we just checked if we receive the same...
I'm trying to integrate cls into an existing project running both async/await and bluebird. Everything works terrific, until bluebird.delay is called, at which point the session gets lost. Example code:...
Needs to get to work
I have below test code, executed in nodejs 7.4.0 with --harmony-async-await argument. ```javascript function newP(id){ Promise.resolve().then((data)=>{ ns.run(function(){ ns.set('cid',id) afn() }) }) } async function afn(){ var a1 = await log(1)...
Hi, is there any information about the overhead/performance impact of using this library? I'm interested as to whether it's something that could be used on every request of a high...
I have a NodeJS application using Node8 and Express 4. Am using CLS to store an API token at the time of login and to retrieve the token further down...