Callbacks made almost easy
Simple queue system to handle callbacks
Constructor :
var myQueue = { console }
Constructor arguments :
callback(function): This the only required argument which is the callback for the queue.
Enqueue method :
var myQueue = { console }
Enqueue arguments :
Proccess(function):
Asynchronous stuff.
Sync(boolean):
This argument have to be the answer for the question : "This process will wait the previous process end to be executed"
Run Method :
The run method trigger the queue execution.
// Cycle Icon designed by Nick Remis - http://www.thenounproject.com/nremis/