Skip to main content

All Questions

3 votes
1 answer
1k views

Summing CSV files row by row using Node.js events

I need to read multiple CSV files that have the same number of rows, and compute some results for each row. For simplification purposes, and in the scope of this code review, this computation would be ...
7hibault's user avatar
  • 141
1 vote
0 answers
59 views

Repetitive code for an event listener

So I'm using the event emitter as some sort of an event bus(If I'm allowed to call it that). The problem I've stumbled upon is that my listeners might want different data than another listener. Since ...
mertje's user avatar
  • 153
2 votes
0 answers
28 views

Event based read and output file lines

In the near future, the app will have to start several actions after having read the content of the file (executing request based on the request module). I was ...
Quentin's user avatar
  • 121
1 vote
1 answer
64 views

Emitting event on close of other event (event chaining)

I have a software that does the following in sequence: download text files from s3 reads the files collect the data from files The program is asynchronous-...
celoxxx's user avatar
  • 21
3 votes
0 answers
46 views

Periodically monitor if record is not updated using Node, Event and setTimeOut

Here is my scenario: Every user checks in every five minutes. If some user doesn't check in after 5 minutes, I should be able to keep track of it. If some user doesn't check in N number of times, an ...
Jay's user avatar
  • 131