-
-
Notifications
You must be signed in to change notification settings - Fork 138
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
Using async function to make await call #226
Comments
Alternative can be (thanks ChatGPT) :
|
@dawadam you want to modify the promise to:
Otherwise you return before the last row's promise resolves! |
Would it be better to use a stream |
I have spend SO MUCH TIME getting this to work and pulling my hair out when it didn't work.. Then finding this thread with the (AI geerated code.. for f**** sake). Yeah, now it works. Another place said that csv-parser is a bit naughty here causing the whole issue to begin with. Anyhow, i'm happy i found this solution. Can i have my wasted hours back now? 😉 |
Feature Proposal
Using async function to make await call.
Feature Use Case
The text was updated successfully, but these errors were encountered: