Jeff-Lewis / cls-hooked

cls-hooked : CLS using AsynWrap or async_hooks instead of async-listener for node 4.7+
BSD 2-Clause "Simplified" License
759 stars 89 forks source link

Can't get ctx when use await in async function. #61

Open M1178475702 opened 4 years ago

M1178475702 commented 4 years ago

image

Like the image above, when i tried to get the value in namespace after await one promise in a async function, i got undefined. I guess it maybe due to the chain of function callback, in some aspect. Can I reobtain values in the namespace after calling Await?

dennisleung commented 3 years ago

can not reproduce...