-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Async call handling #7
Comments
Not sure I understand the question. |
hi, // *** mymod.js *** |
@drv1234 async/await is part of ES8, need to check if it supported by the javascript parser being used |
I use the latest node js. Without njstrace instrment the code runs fine. |
here is the printout: njsTrace: New instance of NJSTrace created with config: { enabled: true, TypeError: mymod.run is not a function
|
I know async await is suppurted in Nodejs, it is not supported by the library I am using to parse the javascript files (at lease in the way I'm currently doing it) |
Thanks. |
It is really up to whether this library supports it, if it does it should be relatively easy to support it. I'll try to find some time to check it on the weekend |
Thank you in advance! |
@drv1234 Please see if the latest version (1.0.1) works for you. Did some very basic async/await and it seems ok, not sure how it will work on a large scale project... |
hi, But... To see, modify the example: // *** main.js // *** mymod.js *** |
How does NJSTrace handle async call?
The text was updated successfully, but these errors were encountered: