question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Doesn't work with async functions

See original GitHub issue

I fail to use the service, as I am using async function. Are there any plan to start supporting async syntax and if so, when?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
75lbcommented, Aug 7, 2017

I uploaded a pre-release which uses jsdoc 3.5.4 for you to try:

$ npm install -g jsdoc-to-markdown@next
1reaction
75lbcommented, Jul 24, 2017

Ah, i see - you’re asking to make jsdoc2md work with ES2017 code by default (without jsdoc plugins). Yes, that is coming soon - i’m testing the latest jsdoc release atm.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why `async/await` doesn't work in my case? - Stack Overflow
await only suspends when the value passed to it is a Promise . In your case, setTimeout returns a Number so await doesn't...
Read more >
async function - JavaScript - MDN Web Docs - Mozilla
An async function will return a different reference, whereas Promise.resolve returns the same reference if the given value is a promise.
Read more >
Async/await - The Modern JavaScript Tutorial
The syntax: // works only inside async functions let value = await promise; The keyword await makes JavaScript wait until that promise settles ......
Read more >
javascript - await does not wait for Promise to finish
@SachinHooda await operator can only be used inside an async function, failing this would throw a runtime error as "Can not use keyword...
Read more >
Use Promise.all to Stop Async/Await from Blocking Execution ...
If you're calling async functions with await , don't let unrelated async calls block each other. Don't use await inside loops. Create an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found