felixge/node-mysql — pull request #306 by littlebee (2012-10-18 21:44:27+00:00)
Title: Would be nice to have a event when the queue is empty.

The use case is that I have millions of rows in a table (T1) and I need to query T1 and then query a another table (T2) which has 0-4 rows per row in the first. I need to not let T2 grow too much and I want to fire off a batch of queries and then wait until they finish and then queue up some of the T2 queries.

It's a fairly simple mod.