space_after_anon_function doesn't work with anon async functions
See original GitHub issueIssue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Using "await" inside non-async function - Stack Overflow
My problem is I'd like the synchronous function to be able to wait for a value from the async one... They can't, because:....
Read more >Call async from non-async - The Modern JavaScript Tutorial
Call async from non-async. We have a “regular” function called f . How can you call the async function wait() and use its...
Read more >Getting Started With Async Features in Python
This step-by-step tutorial gives you the tools you need to start making asynchronous programming techniques a part of your repertoire.
Read more >async function - JavaScript - MDN Web Docs - Mozilla
The async function declaration declares an async function where the await keyword is permitted within the function body. The async and await ......
Read more >Concurrency and async / await - FastAPI
When you declare a path operation function with normal def instead of async def , it is run in an external threadpool that...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I like ESLint’s “space-before-function-paren” which covers all these (anon, named, anon async, named async) under one setting. Thoughts?
I ran this in v1.8.6 and it appears to force a space between “async” and the following parens as default. @laggingreflex and @xueqingxiao, please feel free to review this and let me know if you disagree. In the meantime, I’m going to mark this as resolved.