preProcessItem(item) {
    return new Promise((done, reject) => {
// q.push(() => {
      this.api.categoryProducts.list(item.id).then((result) => {
        this._storeCatLinks(item, result);
        done(item);
      }).catch((err) => {
        logger.error(err);
        done(item);
      });
  // });
    });
  }
/**
   * Get the product category links for this specific category and update the products
   * @param {Object} item 
   */
Get the product category links for this specific category and update the products
@param {Object} item
Get the product category links for this specific category and update the products @param { Object } item
preProcessItem(item) {
    return new Promise((done, reject) => {
      this.api.categoryProducts.list(item.id).then((result) => {
        this._storeCatLinks(item, result);
        done(item);
      }).catch((err) => {
        logger.error(err);
        done(item);
      });
    });
  }
preProcessItem ( item ) { return new Promise ( ( done , reject ) => { this . api . categoryProducts . list ( item . id ) . then ( ( result ) => { this . _storeCatLinks ( item , result ) ; done ( item ) ; } ) . catch ( ( err ) => { logger . error ( err ) ; done ( item ) ; } ) ; } ) ; }
Get the product category links for this specific category and update the products
 @param {Object} item
Get the product category links for this specific category and update the products @param { Object } item
// q.push(() => { // });