new reference to localasyncvstorage

This commit is contained in:
Yedidya
2021-02-05 11:36:29 +02:00
parent 31c075cda9
commit c82c933b65

View File

@ -59,7 +59,7 @@ const response = await axios.get('https://externalService.com/api/getAllUsers');
<br/><br/>
There are two restrictions on using cls-rtracer, due to its dependence on async-local-storage (You can think of async-local-storage as the node.js alternative to thread local storage, more details in the link attached above):
There are two restrictions on using cls-rtracer, due to its dependence on async-local-storage (You can think of async-local-storage as the node.js alternative to thread local storage, more details [here](https://www.freecodecamp.org/news/async-local-storage-nodejs/)):
1. async-local-storage requires Node v.14.
2. async-local-storage is based on a lower level construct in Node called async_hooks which is still experimental, so you may have the fear of performance problems. Even if they do exist, they are very negligible, but you should make your own considerations.