Created
December 1, 2014 18:36
-
-
Save acnalesso/042e908336d0285fdec5 to your computer and use it in GitHub Desktop.
Backburner's DeferredActionQueues object
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function DeferredActionQueues(queueNames, options) { | |
var queues = this.queues = Object.create(null); | |
this.queueNames = queueNames || []; | |
this.options = options; | |
each(queueNames, function(queueName){ | |
queues[queueName] = new Queue(queueName, options[queueName], options); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment