<commit_before>queue
=====

FIFO queue for node and browser

### Example

    Queue()
      .add(function(next){ console.log(1); next(); })
      .add(function(next){ console.log(2); next(); })
      .add(function(next){ console.log(3); next(); })
      .run(function(error){ console.log(error, 'finish'); }); // -> 1 ; 2 ; 3 ; undefined, 'finish'
    

    var q = new Queue();
    q.add(function(next){ setInterval(function(){ next(); }, 1000); });
    q.run(function(error){}); // -> will throw an error, after 2000ms (on second tick)
    
    <commit_msg>DOC: use case with extended scope<commit_after>queue
=====

FIFO queue for node and browser

### Example

    Queue()
      .add(function(next){ console.log(1); next(); })
      .add(function(next){ console.log(2); next(); })
      .add(function(next){ console.log(3); next(); })
      .run(function(error){ console.log(error, 'finish'); }); // -> 1 ; 2 ; 3 ; undefined, 'finish'
    

    var q = new Queue();
    q.add(function(next){ setInterval(function(){ next(); }, 1000); });
    q.run(function(error){}); // -> will throw an error, after 2000ms (on second tick)
    
    var q = new Queue(4, 2);
    q.add(function(n, m, next) { console.log(n,m); });
    q.end(function(){}); // -> 4, 2
    
{'fraction_non_alphanumeric': 0.21462639109697934, 'fraction_numerical': 0.025437201907790145, 'mean_word_length': 3.074433656957929, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6356088', 'n_tokens_mistral': 444, 'n_tokens_neox': 409, 'n_words': 105}