You don't need to reuse the queue is it doesn't need  a fifo queue
On May 25, 2014 2:53 PM, "Nolan Lawson" <notifications@github.com> wrote:

> In index.js:
>
> >
> > -  nextTick(function () { callback(null, key, value); });
> > +      self.initCompleted = true;
> > +      while (self.onInitCompleteListeners.length) {
> > +        process.nextTick(self.onInitCompleteListeners.shift());
>
> Okay, actually, I solved this in a different way, which is to implement my
> own queue that still supports push, shift, length, etc.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/No9/localstorage-down/pull/50/files#r13032069>
> .
>