maxkueng/pause-queue — pull request #1 by Ivshti (2013-12-28 21:22:54+00:00)
Title: Added an ability to pass a callback to .pause(), which will be called once all pending tasks are executed

This makes sense, since sometimes we want to pause the queue to execute a maintenance task, but we need to do this while no queue tasks are pending. Essentially this is a "pausing is complete" callback.