async fetchActivities(opts = {}) {
    // Error should be caught by caller
    this.segmentEfforts = await this.fetchSegmentEfforts(1, [], opts);

    if (!this.segmentEfforts.length) {
      return;
    }

    this.segmentEfforts.forEach((effort) => {
      this.processEffort(effort);
    });
  }
/**
   * Fetch and process historical activities for a location
   *
   * @param {Object} opts
   * @param {Integer} opts.limitPages Limit number of pages of activities to import
   */
Fetch and process historical activities for a location
@param {Object} opts
@param {Integer} opts.limitPages Limit number of pages of activities to import
Fetch and process historical activities for a location @param { Object } opts @param { Integer } opts . limitPages Limit number of pages of activities to import
async fetchActivities(opts = {}) {
    this.segmentEfforts = await this.fetchSegmentEfforts(1, [], opts);
    if (!this.segmentEfforts.length) {
      return;
    }
    this.segmentEfforts.forEach((effort) => {
      this.processEffort(effort);
    });
  }
async fetchActivities ( opts = { } ) { this . segmentEfforts = await this . fetchSegmentEfforts ( 1 , [ ] , opts ) ; if ( ! this . segmentEfforts . length ) { return ; } this . segmentEfforts . forEach ( ( effort ) => { this . processEffort ( effort ) ; } ) ; }
Fetch and process historical activities for a location
 @param {Object} opts
 @param {Integer} opts.limitPages Limit number of pages of activities to import
Fetch and process historical activities for a location @param { Object } opts @param { Integer } opts . limitPages Limit number of pages of activities to import
// Error should be caught by caller