caolan/async — pull request #433 by tikonen (2014-01-11 04:23:40+00:00)
Title: Queue calls drain if empty task list is pushed

Queue calls drain if empty list is pushed

Example:

var q = async.queue( worker , ... )
q.drain = function() { console.log('Drained!') }
q.push([]);

Old functionality: The drain is not called
New functionality: With this change the drain is called after calling push with empty array.