Skip to main content

Questions tagged [async.js]

A module with functions for working asynchronously with JavaScript that can be used both in NodeJS and in the browser.

6 votes
2 answers
1k views

I am using the following frameworks/libraries: Node.js Express.js node-mysql.js async.js I am making multiple asynchronous queries to my DB, but each subsequent query relies on the results of the ...
3 votes
1 answer
1k views

I have a use case where I need to run multiple tasks in series. Each task is required to perform some database operations. In my code step_1, ...
6 votes
1 answer
895 views

I'm working on a pothole map web app in Google Apps Script. The map gets its data from a Google spreadsheet (from manual surveying), which is then transformed via hits to the Geolocation and Google ...
0 votes
1 answer
102 views

I have a huge fileList array where many elements of array start from sub-** pattern. I want to group these files belonging to ...
2 votes
0 answers
106 views

My first go at a Higher Order Component in react. Aims to give a component the ability to call an url repeatedly with a given refresh interval. Seems to be working as I want. I'm not 100% confident ...
2 votes
0 answers
613 views

I wrote a script for reading a CSV, parsing it and saving data to MongoDB. I would love some input on how I'm handling errors and dealing with callbacks. I wrote it with nested without using async and ...
2 votes
1 answer
2k views

Does anyone have any recommendations for how I could make this async.waterfall call neater? Ideally I'd be able to do something like: ...
5 votes
1 answer
181 views

Noobie here. I applied for a job as a Jr. engineer and they gave me this task. After they read through my solution they rejected my application because the code was hard to follow. I'd like to get an ...
2 votes
1 answer
530 views

I'm using HapiJS to create a little backend for my side-project. In grabbing RSS feeds, I want to loop through my list of website URLs, grab the correct RSS links in the ...