|
|
@ -44,12 +44,14 @@ function deferEvents(eventsHash){ |
|
|
|
function queueCapacity(num){ |
|
|
|
if (!arguments.length) return this.queue.config.capacity; |
|
|
|
this.queue.config.capacity = num ? Number(num): 0; |
|
|
|
this.queue.check(); |
|
|
|
return this; |
|
|
|
} |
|
|
|
|
|
|
|
function queueInterval(num){ |
|
|
|
if (!arguments.length) return this.queue.config.interval; |
|
|
|
this.queue.config.interval = num ? Number(num): 0; |
|
|
|
this.queue.check(); |
|
|
|
return this; |
|
|
|
} |
|
|
|
|
|
|
|