-
Notifications
You must be signed in to change notification settings - Fork 12
Can this be used in api calls? #11
Comments
Of course, I'm using it right now to track the request ID propagation throughout the app. |
@JaiyashreeSM If you don't know how to use |
@vicanso, We use loopback and here is the simple flow. I get the value being set in the incoming request here in app.all('*', function(req, res, next) { test.js `const als = require('async-local-storage'); Test.testAPI = (options, callback) => { |
I am sorry for late replying. You should call the |
Please carify if this can be used in node APIs where the methods from different files are being called in a single api and should carry some dynamic value throughout the files to be used in all methods.
The text was updated successfully, but these errors were encountered: