code: function next(error) {
      if (error) return self.emit('error', error);
      if (++i === files.length) self.emit('optimized');
    }
docs: Callback to emit optimized event after all Pagelets have been optimized.
  
  @param {Error} error
  @api private