nl_tokens: --------------------------------------------------------------------------- Class constructor . --------------------------------------------------------------------------- @class An object stream to list S3 objects via multiple concurrent requests .
pl_tokens: function S3ConcurrentListObjectStream ( options ) { options = options || { } ; // Important; make this an object stream. options . objectMode = true ; options . maxConcurrency = options . maxConcurrency || 15 ; // A queue for managing concurrency of API requests. this . queue = async . queue ( this . listDirectoryAndRecuse . bind ( this ) , <mask> . maxConcurrency ) ; S3ConcurrentListObjectStream . super_ . call ( this , options ) ; }